Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
[1m[35m (152.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
[1m[36m (131.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
Connecting to database specified by database.yml
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
[1m[35m (246.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
[1m[36m (202.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
[1m[35m (1.6ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
Migrating to DeviseCreateUsers (20120624033524)
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255) DEFAULT '' NOT NULL, "last_name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "date_of_birth" date, "type" varchar(255), "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120624033524')[0m
[1m[35m (259.7ms)[0m commit transaction
Migrating to CreateDiscussionThreads (20130501154800)
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.6ms)[0m CREATE TABLE "discussion_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "initiator_id" integer, "last_posted_at" datetime, "total_comments_post" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_discussion_threads_on_initiator_id" ON "discussion_threads" ("initiator_id")[0m
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130501154800')
[1m[36m (184.3ms)[0m [1mcommit transaction[0m
Migrating to CreateDiscussionConcerns (20130501154801)
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.6ms)[0m [1mCREATE TABLE "discussion_concerns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "thread_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
[1m[35m (0.3ms)[0m CREATE INDEX "index_discussion_concerns_on_user_id" ON "discussion_concerns" ("user_id")
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_discussion_concerns_on_thread_id" ON "discussion_concerns" ("thread_id")[0m
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130501154801')
[1m[36m (225.5ms)[0m [1mcommit transaction[0m
Migrating to CreateDiscussionComments (20130501154802)
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.3ms)[0m [1mCREATE TABLE "discussion_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "commentable_id" integer, "commentable_type" varchar(32), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
[1m[35m (0.2ms)[0m CREATE INDEX "index_discussion_comments_on_author_id" ON "discussion_comments" ("author_id")
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_discussion_comments_on_commentable_id" ON "discussion_comments" ("commentable_id")[0m
[1m[35m (0.2ms)[0m CREATE INDEX "index_discussion_comments_on_commentable_type" ON "discussion_comments" ("commentable_type")
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130501154802')[0m
[1m[35m (233.8ms)[0m commit transaction
Migrating to CreateDiscussionCommentReads (20130501154803)
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.5ms)[0m CREATE TABLE "discussion_comment_reads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "comment_id" integer, "read_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130501154803')[0m
[1m[35m (177.9ms)[0m commit transaction
Migrating to CreateDiscussionThreadReads (20130502144148)
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.4ms)[0m CREATE TABLE "discussion_thread_reads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thread_id" integer, "user_id" integer, "read" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_discussion_thread_reads_on_thread_id" ON "discussion_thread_reads" ("thread_id")[0m
[1m[35m (0.1ms)[0m CREATE INDEX "index_discussion_thread_reads_on_user_id" ON "discussion_thread_reads" ("user_id")
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130502144148')[0m
[1m[35m (242.1ms)[0m commit transaction
Migrating to CreateAssignments (20130509101316)
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.2ms)[0m CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "text" varchar(255), "total_comments_post" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130509101316')[0m
[1m[35m (189.3ms)[0m commit transaction
Migrating to AddTopicToThreads (20130509101334)
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.3ms)[0m ALTER TABLE "discussion_threads" ADD "topic_id" integer
[1m[36m (0.2ms)[0m [1mALTER TABLE "discussion_threads" ADD "topic_type" varchar(255)[0m
[1m[35m (0.1ms)[0m CREATE INDEX "index_discussion_threads_on_topic_id" ON "discussion_threads" ("topic_id")
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_discussion_threads_on_topic_type" ON "discussion_threads" ("topic_type")[0m
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130509101334')
[1m[36m (261.4ms)[0m [1mcommit transaction[0m
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Started GET "/discussion/threads" for 127.0.0.1 at 2013-05-23 21:09:02 +0600
Processing by Discussion::ThreadsController#index as HTML
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_thread_reads" ON "discussion_thread_reads"."thread_id" = "discussion_threads"."id" WHERE (discussion_thread_reads.user_id = 6 AND discussion_thread_reads.read = 'f')
[1m[36mDiscussion::Thread Load (0.4ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE (discussion_concerns.user_id=6) ORDER BY discussion_threads.last_posted_at DESC LIMIT 25 OFFSET 0[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (3, 6, 2, 1, 5, 4)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 89 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 84 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 81 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 77 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 76 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 75 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 74 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 73 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 71 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 69 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 65 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 56 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 50 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 49 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 49 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 48 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 43 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 39 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 35 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 33 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 32 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 21 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 19 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE (discussion_concerns.user_id=6)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_list.html.erb (232.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/index.html.erb within layouts/application (260.1ms)
Compiled assignments.css (0ms) (pid 4580)
Compiled scaffold.css (0ms) (pid 4580)
Compiled application.css (28ms) (pid 4580)
Compiled jquery.js (1ms) (pid 4580)
Compiled jquery_ujs.js (0ms) (pid 4580)
Compiled assignments.js (0ms) (pid 4580)
Compiled application.js (54ms) (pid 4580)
Completed 200 OK in 516ms (Views: 458.6ms | ActiveRecord: 6.3ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-23 21:09:03 +0600
Served asset /assignments.css - 200 OK (4ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-23 21:09:03 +0600
Served asset /application.css - 200 OK (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-23 21:09:03 +0600
Served asset /scaffold.css - 200 OK (5ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-23 21:09:03 +0600
Served asset /jquery.js - 200 OK (11ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-23 21:09:03 +0600
Served asset /assignments.js - 200 OK (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-23 21:09:03 +0600
Served asset /application.js - 200 OK (18ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-23 21:09:03 +0600
Served asset /jquery_ujs.js - 200 OK (3ms)
Started GET "/assignments" for 127.0.0.1 at 2013-05-23 21:09:21 +0600
Processing by AssignmentsController#index as HTML
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" [0m
Rendered assignments/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.3ms)
Started GET "/assignments/new" for 127.0.0.1 at 2013-05-23 21:09:22 +0600
Processing by AssignmentsController#new as HTML
Rendered assignments/_form.html.erb (2.6ms)
Rendered assignments/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 15ms (Views: 6.4ms | ActiveRecord: 0.0ms)
Started POST "/assignments" for 127.0.0.1 at 2013-05-23 21:09:29 +0600
Processing by AssignmentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "assignment"=>{"title"=>"test", "description"=>"asda", "text"=>"ada"}, "commit"=>"Create Assignment"}
[1m[35m (0.1ms)[0m begin transaction
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "assignments" ("created_at", "description", "text", "title", "total_comments_post", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 23 May 2013 15:09:29 UTC +00:00], ["description", "asda"], ["text", "ada"], ["title", "test"], ["total_comments_post", 0], ["updated_at", Thu, 23 May 2013 15:09:29 UTC +00:00]]
[1m[35m (260.1ms)[0m commit transaction
Redirected to http://localhost:3000/assignments/1
Completed 302 Found in 314ms (ActiveRecord: 0.0ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-23 21:09:29 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.4ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (0.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (322.0ms)
Rendered assignments/show.html.erb within layouts/application (323.5ms)
Completed 200 OK in 330ms (Views: 326.2ms | ActiveRecord: 0.7ms)
Started POST "/assignments/1/comments" for 127.0.0.1 at 2013-05-23 21:09:38 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"test"}, "commit"=>"Create Comment", "assignment_id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["author_id", 6], ["body", "test"], ["commentable_id", 1], ["commentable_type", "Assignment"], ["created_at", Thu, 23 May 2013 15:09:38 UTC +00:00], ["updated_at", Thu, 23 May 2013 15:09:38 UTC +00:00]]
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1[0m
[1m[35mSQL (0.1ms)[0m UPDATE "assignments" SET "total_comments_post" = COALESCE("total_comments_post", 0) + 1 WHERE "assignments"."id" = 1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "assignments" SET "last_posted_at" = '2013-05-23 15:09:38.493645' WHERE "assignments"."id" = 1[0m
SQLite3::SQLException: no such column: last_posted_at: UPDATE "assignments" SET "last_posted_at" = '2013-05-23 15:09:38.493645' WHERE "assignments"."id" = 1
[1m[35m (0.1ms)[0m rollback transaction
Completed 500 Internal Server Error in 14ms
ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: last_posted_at: UPDATE "assignments" SET "last_posted_at" = '2013-05-23 15:09:38.493645' WHERE "assignments"."id" = 1):
sqlite3 (1.3.7) lib/sqlite3/database.rb:91:in `initialize'
sqlite3 (1.3.7) lib/sqlite3/database.rb:91:in `new'
sqlite3 (1.3.7) lib/sqlite3/database.rb:91:in `prepare'
activerecord (3.2.13) lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `block in exec_query'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
rack-mini-profiler (0.1.26) Ruby/lib/patches/sql_patches.rb:250:in `log_with_miniprofiler'
activerecord (3.2.13) lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'
activerecord (3.2.13) lib/active_record/connection_adapters/sqlite_adapter.rb:268:in `exec_delete'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
activerecord (3.2.13) lib/active_record/relation.rb:294:in `update_all'
activerecord (3.2.13) lib/active_record/relation.rb:278:in `update_all'
activerecord (3.2.13) lib/active_record/persistence.rb:197:in `update_column'
/home/jitu/projects/discussion/app/models/discussion/comment.rb:26:in `update_last_posted_at'
activesupport (3.2.13) lib/active_support/callbacks.rb:413:in `_run__1630233418811769446__create__2463747199170336314__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.2.13) lib/active_record/callbacks.rb:268:in `create'
activerecord (3.2.13) lib/active_record/persistence.rb:348:in `create_or_update'
activerecord (3.2.13) lib/active_record/callbacks.rb:264:in `block in create_or_update'
activesupport (3.2.13) lib/active_support/callbacks.rb:436:in `_run__1630233418811769446__save__2463747199170336314__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.2.13) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.2.13) lib/active_record/persistence.rb:84:in `save'
activerecord (3.2.13) lib/active_record/validations.rb:50:in `save'
activerecord (3.2.13) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.2.13) lib/active_record/transactions.rb:259:in `block (2 levels) in save'
activerecord (3.2.13) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.2.13) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.2.13) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
activerecord (3.2.13) lib/active_record/transactions.rb:259:in `block in save'
activerecord (3.2.13) lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
activerecord (3.2.13) lib/active_record/transactions.rb:258:in `save'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:30:in `block in create'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:270:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:270:in `retrieve_collector_from_mimes'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:194:in `respond_to'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:29:in `create'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3719353998144405340__process_action__4450214897125313249__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__3579604616104875490__call__2463747199170336314__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:143:in `pass'
rack-cache (1.2) lib/rack/cache/context.rb:155:in `invalidate'
rack-cache (1.2) lib/rack/cache/context.rb:71:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.5ms)
Connecting to database specified by database.yml
Started GET "/assignments" for 127.0.0.1 at 2013-05-24 11:00:48 +0600
Processing by AssignmentsController#index as HTML
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" [0m
Rendered assignments/index.html.erb within layouts/application (94.6ms)
Completed 200 OK in 237ms (Views: 170.8ms | ActiveRecord: 65.3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-24 11:00:49 +0600
Served asset /application.js - 304 Not Modified (5ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-24 11:00:49 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-24 11:00:49 +0600
Served asset /application.css - 304 Not Modified (3ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-24 11:00:49 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-24 11:00:49 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-24 11:00:49 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-24 11:00:49 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:00:52 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.4ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (0.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (78.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (401.4ms)
Rendered assignments/show.html.erb within layouts/application (431.7ms)
Completed 200 OK in 456ms (Views: 450.6ms | ActiveRecord: 0.7ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-24 11:00:52 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-24 11:00:52 +0600
Served asset /application.css - 304 Not Modified (1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-24 11:00:52 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-24 11:00:52 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-24 11:00:52 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-24 11:00:52 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-24 11:00:52 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started POST "/assignments/1/comments" for 127.0.0.1 at 2013-05-24 11:00:58 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"test"}, "commit"=>"Create Comment", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36mSQL (73.0ms)[0m [1mINSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["author_id", 6], ["body", "test"], ["commentable_id", 1], ["commentable_type", "Assignment"], ["created_at", Fri, 24 May 2013 05:00:59 UTC +00:00], ["updated_at", Fri, 24 May 2013 05:00:59 UTC +00:00]]
[1m[35mAssignment Load (0.3ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
Completed 500 Internal Server Error in 137ms
NoMethodError (undefined method `has_attribute?' for #):
activerecord (3.2.13) lib/active_record/dynamic_matchers.rb:55:in `method_missing'
/home/jitu/projects/discussion/app/models/discussion/comment.rb:26:in `update_last_posted_at'
activesupport (3.2.13) lib/active_support/callbacks.rb:409:in `_run__1259955664742198607__create__1374410625658533322__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.2.13) lib/active_record/callbacks.rb:268:in `create'
activerecord (3.2.13) lib/active_record/persistence.rb:348:in `create_or_update'
activerecord (3.2.13) lib/active_record/callbacks.rb:264:in `block in create_or_update'
activesupport (3.2.13) lib/active_support/callbacks.rb:436:in `_run__1259955664742198607__save__1374410625658533322__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.2.13) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.2.13) lib/active_record/persistence.rb:84:in `save'
activerecord (3.2.13) lib/active_record/validations.rb:50:in `save'
activerecord (3.2.13) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.2.13) lib/active_record/transactions.rb:259:in `block (2 levels) in save'
activerecord (3.2.13) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.2.13) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.2.13) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
activerecord (3.2.13) lib/active_record/transactions.rb:259:in `block in save'
activerecord (3.2.13) lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
activerecord (3.2.13) lib/active_record/transactions.rb:258:in `save'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:30:in `block in create'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:270:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:270:in `retrieve_collector_from_mimes'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:194:in `respond_to'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:29:in `create'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__4201649672788707014__process_action__1225865598607442780__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__379394248780056937__call__1374410625658533322__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:143:in `pass'
rack-cache (1.2) lib/rack/cache/context.rb:155:in `invalidate'
rack-cache (1.2) lib/rack/cache/context.rb:71:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (39.5ms)
Connecting to database specified by database.yml
Started POST "/assignments/1/comments" for 127.0.0.1 at 2013-05-24 11:02:32 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"test"}, "commit"=>"Create Comment", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["author_id", 6], ["body", "test"], ["commentable_id", 1], ["commentable_type", "Assignment"], ["created_at", Fri, 24 May 2013 05:02:33 UTC +00:00], ["updated_at", Fri, 24 May 2013 05:02:33 UTC +00:00]]
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
Completed 500 Internal Server Error in 50ms
NoMethodError (undefined method `concern_users' for #):
activemodel (3.2.13) lib/active_model/attribute_methods.rb:407:in `method_missing'
activerecord (3.2.13) lib/active_record/attribute_methods.rb:149:in `method_missing'
/home/jitu/projects/discussion/app/models/discussion/comment.rb:33:in `create_comment_read_for_concerns'
activesupport (3.2.13) lib/active_support/callbacks.rb:413:in `_run__1259955664742198607__create__1374410625658533322__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.2.13) lib/active_record/callbacks.rb:268:in `create'
activerecord (3.2.13) lib/active_record/persistence.rb:348:in `create_or_update'
activerecord (3.2.13) lib/active_record/callbacks.rb:264:in `block in create_or_update'
activesupport (3.2.13) lib/active_support/callbacks.rb:436:in `_run__1259955664742198607__save__1374410625658533322__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.2.13) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.2.13) lib/active_record/persistence.rb:84:in `save'
activerecord (3.2.13) lib/active_record/validations.rb:50:in `save'
activerecord (3.2.13) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.2.13) lib/active_record/transactions.rb:259:in `block (2 levels) in save'
activerecord (3.2.13) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.2.13) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.2.13) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
activerecord (3.2.13) lib/active_record/transactions.rb:259:in `block in save'
activerecord (3.2.13) lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
activerecord (3.2.13) lib/active_record/transactions.rb:258:in `save'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:30:in `block in create'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:270:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:270:in `retrieve_collector_from_mimes'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:194:in `respond_to'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:29:in `create'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__4201649672788707014__process_action__1225865598607442780__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__379394248780056937__call__1374410625658533322__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:143:in `pass'
rack-cache (1.2) lib/rack/cache/context.rb:155:in `invalidate'
rack-cache (1.2) lib/rack/cache/context.rb:71:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.6ms)
Started POST "/assignments/1/comments" for 127.0.0.1 at 2013-05-24 11:14:07 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"test"}, "commit"=>"Create Comment", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["author_id", 6], ["body", "test"], ["commentable_id", 1], ["commentable_type", "Assignment"], ["created_at", Fri, 24 May 2013 05:14:07 UTC +00:00], ["updated_at", Fri, 24 May 2013 05:14:07 UTC +00:00]]
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mSQL (0.2ms)[0m UPDATE "assignments" SET "total_comments_post" = 1 WHERE "assignments"."id" = 1
[1m[36m (233.5ms)[0m [1mcommit transaction[0m
Redirected to http://localhost:3000/assignments/1
Completed 302 Found in 338ms (ActiveRecord: 235.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:14:08 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (43.7ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (88.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (3.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (160.9ms)
Rendered assignments/show.html.erb within layouts/application (162.2ms)
Completed 200 OK in 175ms (Views: 126.0ms | ActiveRecord: 44.8ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:08 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:08 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:08 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:08 +0600
Served asset /jquery_ujs.js - 304 Not Modified (23ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:08 +0600
Served asset /assignments.js - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:08 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:08 +0600
Served asset /application.js - 304 Not Modified (0ms)
Started POST "/assignments/1/comments" for 127.0.0.1 at 2013-05-24 11:14:12 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"test"}, "commit"=>"Create Comment", "assignment_id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["author_id", 6], ["body", "test"], ["commentable_id", 1], ["commentable_type", "Assignment"], ["created_at", Fri, 24 May 2013 05:14:12 UTC +00:00], ["updated_at", Fri, 24 May 2013 05:14:12 UTC +00:00]]
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mSQL (0.1ms)[0m [1mUPDATE "assignments" SET "total_comments_post" = 2 WHERE "assignments"."id" = 1[0m
[1m[35m (289.7ms)[0m commit transaction
Redirected to http://localhost:3000/assignments/1
Completed 302 Found in 308ms (ActiveRecord: 290.8ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:14:12 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (8.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (19.6ms)
Rendered assignments/show.html.erb within layouts/application (20.6ms)
Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 1.3ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:12 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:12 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:12 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:12 +0600
Served asset /assignments.js - 304 Not Modified (3ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:13 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:13 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:13 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:14:17 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (11.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (24.9ms)
Rendered assignments/show.html.erb within layouts/application (26.0ms)
Completed 200 OK in 33ms (Views: 28.7ms | ActiveRecord: 1.4ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:17 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:17 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:17 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:17 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-24 11:14:17 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:17 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-24 11:14:17 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:19:26 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (30.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (71.4ms)
Rendered assignments/show.html.erb within layouts/application (72.6ms)
Completed 200 OK in 93ms (Views: 76.4ms | ActiveRecord: 2.7ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-24 11:19:26 +0600
Served asset /assignments.css - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-24 11:19:26 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-24 11:19:26 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-24 11:19:26 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-24 11:19:26 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-24 11:19:26 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-24 11:19:26 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:31:54 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (29.7ms)
Completed 500 Internal Server Error in 40ms
ActionView::Template::Error (undefined method `load_comments_for' for #<#:0x00000002d636c8>):
20: <%= link_to 'Back', assignments_path %>
21:
22: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @assignment} %>
23: <%= load_comments_for(@assignment) %>
app/views/assignments/show.html.erb:23:in `_app_views_assignments_show_html_erb__368167462213439574_23496200'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.0ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:32:11 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (8.2ms)
Completed 500 Internal Server Error in 16ms
ActionView::Template::Error (undefined method `load_comments_for' for #):
20: <%= link_to 'Back', assignments_path %>
21:
22: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @assignment} %>
23: <%= discussion.load_comments_for(@assignment) %>
app/views/assignments/show.html.erb:23:in `_app_views_assignments_show_html_erb__368167462213439574_26576780'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:33:04 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (8.2ms)
Completed 500 Internal Server Error in 16ms
ActionView::Template::Error (undefined method `load_comments_for' for #<#:0x007fd58c060158>):
20: <%= link_to 'Back', assignments_path %>
21:
22: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @assignment} %>
23: <%= load_comments_for(@assignment) %>
app/views/assignments/show.html.erb:23:in `_app_views_assignments_show_html_erb__368167462213439574_70277576979720'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:33:30 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (4.9ms)
Completed 500 Internal Server Error in 11ms
ActionView::Template::Error (undefined method `load_comments_for' for #):
20: <%= link_to 'Back', assignments_path %>
21:
22: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @assignment} %>
23: <%= main_app.load_comments_for(@assignment) %>
app/views/assignments/show.html.erb:23:in `_app_views_assignments_show_html_erb__368167462213439574_70277646116940'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 11:39:12 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (25.6ms)
Completed 500 Internal Server Error in 75ms
ActionView::Template::Error (undefined method `load_comments_for' for #<#:0x000000027dc448>):
20: <%= link_to 'Back', assignments_path %>
21:
22: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @assignment} %>
23: <%= load_comments_for(@assignment) %>
app/views/assignments/show.html.erb:23:in `_app_views_assignments_show_html_erb__4461546454236301999_27417320'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms)
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 23:20:14 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (68.7ms)
Rendered assignments/show.html.erb within layouts/application (74.5ms)
Completed 500 Internal Server Error in 234ms
ActionView::Template::Error (Could not find table 'comments'):
1: <%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>
2:
3: <%= simple_form_for([commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
4: <%= f.error_notification %>
app/views/assignments/show.html.erb:23:in `_app_views_assignments_show_html_erb__2233067591730242679_29159340'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.1ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-24 23:34:39 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (85.8ms)
Rendered assignments/show.html.erb within layouts/application (93.4ms)
Completed 500 Internal Server Error in 265ms
ActionView::Template::Error (Could not find table 'comments'):
1: <%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>
2:
3: <%= simple_form_for([commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
4: <%= f.error_notification %>
app/views/assignments/show.html.erb:23:in `_app_views_assignments_show_html_erb__3673744567210129414_29434600'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.7ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:19:13 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (93.9ms)
Rendered assignments/show.html.erb within layouts/application (105.4ms)
Completed 500 Internal Server Error in 238ms
ActionView::Template::Error (Could not find table 'comments'):
1: <%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>
2:
3: <%= simple_form_for([commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
4: <%= f.error_notification %>
app/views/assignments/show.html.erb:23:in `_app_views_assignments_show_html_erb__2532980908040938634_34840500'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.7ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:19:59 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mDiscussion::Comment Load (13.7ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (46.8ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (106.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (47.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (524.8ms)
Rendered assignments/show.html.erb within layouts/application (530.3ms)
Completed 200 OK in 764ms (Views: 673.5ms | ActiveRecord: 64.1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 10:20:00 +0600
Served asset /assignments.js - 304 Not Modified (4ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 10:20:00 +0600
Served asset /application.js - 304 Not Modified (8ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 10:20:00 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 10:20:00 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 10:20:00 +0600
Served asset /application.css - 304 Not Modified (7ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 10:20:00 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 10:20:00 +0600
Served asset /scaffold.css - 304 Not Modified (3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:21:04 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (22.7ms)
Completed 500 Internal Server Error in 26ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb__999949167320827115_70242012896620'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:21:41 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.3ms)
Completed 500 Internal Server Error in 10ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb__999949167320827115_70242012896620'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.4ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:22:04 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (6.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (14.4ms)
Rendered assignments/show.html.erb within layouts/application (16.0ms)
Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.8ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 10:22:04 +0600
Served asset /application.css - 304 Not Modified (4ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 10:22:04 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 10:22:04 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 10:22:04 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 10:22:04 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 10:22:04 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 10:22:04 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:22:11 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.6ms)
Completed 500 Internal Server Error in 5ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb__999949167320827115_70242012812680'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:22:38 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (28.0ms)
Completed 500 Internal Server Error in 63ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb___484941674439782819_29677040'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:22:41 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.3ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.4ms)
Completed 500 Internal Server Error in 11ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb___484941674439782819_29677040'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:22:42 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.1ms)
Completed 500 Internal Server Error in 5ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb___484941674439782819_29677040'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:22:42 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.1ms)
Completed 500 Internal Server Error in 5ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb___484941674439782819_29677040'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:22:42 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.3ms)
Completed 500 Internal Server Error in 8ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb___484941674439782819_29677040'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:23:19 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.1ms)
Completed 500 Internal Server Error in 10ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
22: <%#= load_comments_for(@assignment, lazy: true) %>
23:
24: <%=
25: content_tag_for :div, id: "comments-#{Time.now.to_i}" do
26: end
27: %>
app/views/assignments/show.html.erb:25:in `_app_views_assignments_show_html_erb___484941674439782819_69947603964860'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:24:10 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 10:24:10 +0600
Served asset /application.css - 304 Not Modified (13ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 10:24:10 +0600
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 10:24:10 +0600
Served asset /assignments.css - 304 Not Modified (5ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 10:24:10 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 10:24:10 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 10:24:10 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 10:24:10 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:24:22 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.3ms)
Completed 500 Internal Server Error in 11ms
ActionView::Template::Error (undefined method `model_name' for Hash:Class):
19: <%= link_to 'Edit', edit_assignment_path(@assignment) %> |
20: <%= link_to 'Back', assignments_path %>
21:
22: <%= load_comments_for(@assignment, lazy: true) %>
app/views/assignments/show.html.erb:22:in `_app_views_assignments_show_html_erb___484941674439782819_25209220'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.7ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:24:32 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.6ms)
Completed 200 OK in 62ms (Views: 49.0ms | ActiveRecord: 2.1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 10:24:32 +0600
Served asset /assignments.css - 304 Not Modified (3ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 10:24:32 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 10:24:32 +0600
Served asset /application.css - 304 Not Modified (6ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 10:24:32 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 10:24:32 +0600
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 10:24:32 +0600
Served asset /jquery.js - 304 Not Modified (4ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 10:24:32 +0600
Served asset /application.js - 304 Not Modified (13ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 10:41:38 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (7.6ms)
Completed 200 OK in 316ms (Views: 238.7ms | ActiveRecord: 64.2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 10:41:39 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 10:41:39 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 10:41:39 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 10:41:39 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 10:41:39 +0600
Served asset /application.css - 304 Not Modified (6ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 10:41:39 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 10:41:39 +0600
Served asset /jquery.js - 304 Not Modified (4ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:18:54 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mDiscussion::Comment Load (25.4ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (40.0ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (92.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (60.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (474.3ms)
Rendered assignments/show.html.erb within layouts/application (501.5ms)
Completed 200 OK in 871ms (Views: 677.2ms | ActiveRecord: 128.4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:18:55 +0600
Served asset /jquery.js - 200 OK (3ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:18:55 +0600
Served asset /jquery_ujs.js - 200 OK (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:18:55 +0600
Served asset /application.js - 304 Not Modified (13ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:18:55 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:18:55 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:18:55 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:18:55 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:19:06 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:06 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:06 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:06 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:06 +0600
Served asset /assignments.js - 304 Not Modified (4ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:06 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:06 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:06 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:19:40 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 13ms (Views: 5.4ms | ActiveRecord: 0.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:40 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:40 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:40 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:40 +0600
Served asset /assignments.js - 304 Not Modified (5ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:40 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:40 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:40 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:19:56 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (3.2ms)
Completed 200 OK in 21ms (Views: 13.0ms | ActiveRecord: 0.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:56 +0600
Served asset /application.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:56 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:56 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:19:56 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:56 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:56 +0600
Served asset /jquery.js - 304 Not Modified (6ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:19:56 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:20:15 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 0.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:15 +0600
Served asset /application.css - 304 Not Modified (6ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:15 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:15 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:15 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:15 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:15 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:15 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:20:19 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 13ms (Views: 5.7ms | ActiveRecord: 0.6ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:20 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:20 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:20 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:20 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:20 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:20 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:20 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:20:25 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 13ms (Views: 5.5ms | ActiveRecord: 0.6ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:25 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:25 +0600
Served asset /application.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:25 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:25 +0600
Served asset /assignments.css - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:25 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:26 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:26 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:20:27 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 10ms (Views: 5.1ms | ActiveRecord: 0.2ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:27 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:27 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:27 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:27 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:20:27 +0600
Served asset /application.css - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:27 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:20:27 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:21:14 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 32ms (Views: 24.2ms | ActiveRecord: 0.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:21:14 +0600
Served asset /application.css - 304 Not Modified (6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:21:14 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:21:14 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:21:14 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:21:14 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:21:14 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:21:14 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:21:37 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.7ms)
Completed 200 OK in 62ms (Views: 49.4ms | ActiveRecord: 1.7ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:21:38 +0600
Served asset /assignments.css - 304 Not Modified (3ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:21:38 +0600
Served asset /application.css - 304 Not Modified (9ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:21:38 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:21:38 +0600
Served asset /scaffold.css - 304 Not Modified (3ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:21:38 +0600
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:21:38 +0600
Served asset /jquery.js - 304 Not Modified (5ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:21:38 +0600
Served asset /application.js - 304 Not Modified (15ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:22:42 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.7ms)
Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:22:42 +0600
Served asset /application.css - 304 Not Modified (3ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:22:42 +0600
Served asset /scaffold.css - 304 Not Modified (4ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:22:42 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:22:42 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:22:42 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:22:42 +0600
Served asset /jquery.js - 304 Not Modified (7ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:22:42 +0600
Served asset /application.js - 304 Not Modified (2ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:22:52 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.6ms)
Completed 200 OK in 62ms (Views: 34.7ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:22:52 +0600
Served asset /application.css - 304 Not Modified (12ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:22:52 +0600
Served asset /scaffold.css - 304 Not Modified (11ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:22:52 +0600
Served asset /assignments.css - 304 Not Modified (3ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:22:52 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:22:52 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:22:52 +0600
Served asset /application.js - 304 Not Modified (9ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:22:52 +0600
Served asset /jquery.js - 304 Not Modified (7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:27:00 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 14ms (Views: 6.3ms | ActiveRecord: 0.7ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:27:01 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:27:01 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:27:01 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:27:01 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:27:01 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:27:01 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:27:01 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (20.5ms)
Completed 200 OK in 66ms (Views: 37.5ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Served asset /application.css - 304 Not Modified (24ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369488439&_=1369488439880" for 127.0.0.1 at 2013-05-25 19:27:19 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369488439", "_"=>"1369488439880", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
Completed 500 Internal Server Error in 21ms
NoMethodError (undefined method `order_by_recent' for #):
activerecord (3.2.13) lib/active_record/relation/delegation.rb:45:in `method_missing'
activerecord (3.2.13) lib/active_record/associations/collection_proxy.rb:100:in `method_missing'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:95:in `collection'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:11:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2571198234174589801__process_action__1279037492383107468__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__331597173272970271__call__4160957342644126859__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.1ms)
Completed 200 OK in 16ms (Views: 10.9ms | ActiveRecord: 1.3ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Served asset /application.css - 304 Not Modified (8ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Served asset /assignments.js - 304 Not Modified (6ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369488574&_=1369488574945" for 127.0.0.1 at 2013-05-25 19:29:34 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369488574", "_"=>"1369488574945", "assignment_id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
Completed 500 Internal Server Error in 6ms
NoMethodError (undefined method `order_by_recent' for #):
activerecord (3.2.13) lib/active_record/relation/delegation.rb:45:in `method_missing'
activerecord (3.2.13) lib/active_record/associations/collection_proxy.rb:100:in `method_missing'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:95:in `collection'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:11:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2571198234174589801__process_action__1279037492383107468__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__331597173272970271__call__4160957342644126859__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (19.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.0ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.7ms)
Completed 200 OK in 61ms (Views: 34.9ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Served asset /application.css - 304 Not Modified (9ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Served asset /assignments.css - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Served asset /assignments.js - 304 Not Modified (3ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Served asset /jquery_ujs.js - 304 Not Modified (8ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Served asset /application.js - 304 Not Modified (12ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Served asset /jquery.js - 304 Not Modified (5ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369488606&_=1369488606544" for 127.0.0.1 at 2013-05-25 19:30:06 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369488606", "_"=>"1369488606544", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
Completed 500 Internal Server Error in 36ms
NoMethodError (undefined method `order_by_recent' for #):
activerecord (3.2.13) lib/active_record/relation/delegation.rb:45:in `method_missing'
activerecord (3.2.13) lib/active_record/associations/collection_proxy.rb:100:in `method_missing'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:95:in `collection'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:11:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__430246492335372907__process_action__1874698387715915150__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__1829488991871926659__call__4454546285496440278__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.0ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (19.3ms)
Completed 200 OK in 66ms (Views: 38.0ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Served asset /application.css - 304 Not Modified (27ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Served asset /scaffold.css - 304 Not Modified (6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Served asset /assignments.css - 304 Not Modified (4ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Served asset /assignments.js - 304 Not Modified (4ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Served asset /jquery_ujs.js - 304 Not Modified (5ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Served asset /jquery.js - 304 Not Modified (6ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Served asset /application.js - 304 Not Modified (11ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369488717&_=1369488717691" for 127.0.0.1 at 2013-05-25 19:31:57 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369488717", "_"=>"1369488717691", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
Completed 500 Internal Server Error in 17ms
NoMethodError (undefined method `comments' for #):
activerecord (3.2.13) lib/active_record/relation/delegation.rb:45:in `method_missing'
activerecord (3.2.13) lib/active_record/associations/collection_proxy.rb:100:in `method_missing'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:95:in `collection'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:11:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__191029842508483748__process_action__332544670088475494__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__972786714211072252__call__3035739061170125430__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.5ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:32:35 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.8ms)
Completed 200 OK in 62ms (Views: 35.3ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:32:35 +0600
Served asset /application.css - 304 Not Modified (42ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:32:36 +0600
Served asset /assignments.css - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:32:36 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:32:36 +0600
Served asset /application.js - 304 Not Modified (20ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:32:36 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:32:36 +0600
Served asset /jquery.js - 304 Not Modified (5ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:32:36 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369488755&_=1369488756119" for 127.0.0.1 at 2013-05-25 19:32:36 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369488755", "_"=>"1369488756119", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
Completed 500 Internal Server Error in 55ms
NoMethodError (undefined method `concerns_with' for #):
activerecord (3.2.13) lib/active_record/relation/delegation.rb:45:in `method_missing'
activerecord (3.2.13) lib/active_record/associations/collection_proxy.rb:100:in `method_missing'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:99:in `collection'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:11:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3412385962176855876__process_action__2688561580530375388__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__4268128723137099509__call__301304459034871897__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 13ms (Views: 5.7ms | ActiveRecord: 0.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Served asset /assignments.js - 304 Not Modified (6ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369488787&_=1369488787254" for 127.0.0.1 at 2013-05-25 19:33:07 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369488787", "_"=>"1369488787254", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (13.9ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' LIMIT 25 OFFSET 0[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (233.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (239.9ms)
Completed 500 Internal Server Error in 314ms
ActionView::Template::Error (undefined method `assignment_comments_path' for #<#:0x00000002259958>):
1: <%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>
2:
3: <%= simple_form_for([commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
4: <%= f.error_notification %>
5: <%= render :partial => "discussion/comments/form", locals: {f: f} %>
6:
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:135:in `polymorphic_path'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:395:in `apply_form_for_options!'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:370:in `form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:29:in `block in simple_form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:48:in `with_simple_form_field_error_proc'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:28:in `simple_form_for'
/home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb:3:in `__home_jitu_projects_discussion_app_views_discussion_comments__list_with_form_html_erb__541161879863826028_27399420'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_comments_index_js_erb___296152317721665007_24347500'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:167:in `to_js'
responders (0.9.3) lib/responders/flash_responder.rb:109:in `to_js'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:12:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3412385962176855876__process_action__2688561580530375388__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__4268128723137099509__call__301304459034871897__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (22.0ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-25 21:01:15 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (32.0ms)
Completed 200 OK in 363ms (Views: 287.6ms | ActiveRecord: 62.1ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369494075&_=1369494076226" for 127.0.0.1 at 2013-05-25 21:01:16 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369494075", "_"=>"1369494076226", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (28.3ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (47.6ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (168.5ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC LIMIT 25 OFFSET 0[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (659.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (875.9ms)
Completed 500 Internal Server Error in 1128ms
ActionView::Template::Error (undefined method `assignment_comments_path' for #<#:0x00000003b1e2b8>):
1: <%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>
2:
3: <%= simple_form_for([commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
4: <%= f.error_notification %>
5: <%= render :partial => "discussion/comments/form", locals: {f: f} %>
6:
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:135:in `polymorphic_path'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:395:in `apply_form_for_options!'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:370:in `form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:29:in `block in simple_form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:48:in `with_simple_form_field_error_proc'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:28:in `simple_form_for'
/home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb:3:in `__home_jitu_projects_discussion_app_views_discussion_comments__list_with_form_html_erb__4304249081494368145_29011680'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_comments_index_js_erb___269986335315167963_29001080'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:167:in `to_js'
responders (0.9.3) lib/responders/flash_responder.rb:109:in `to_js'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:12:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3697924862464228742__process_action__811443024504235435__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__309324772069371501__call__761689823116012509__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.5ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 09:57:08 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (40.7ms)
Completed 200 OK in 1003ms (Views: 664.0ms | ActiveRecord: 244.4ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 09:57:10 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 09:57:10 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 09:57:10 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 09:57:10 +0600
Served asset /application.js - 304 Not Modified (6ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 09:57:10 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 09:57:10 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 09:57:10 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369540630&_=1369540631073" for 127.0.0.1 at 2013-05-26 09:57:11 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369540630", "_"=>"1369540631073", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (169.3ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mEXPLAIN (0.1ms)[0m [1mEXPLAIN QUERY PLAN SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mEXPLAIN (0.1ms)[0m EXPLAIN QUERY PLAN SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
EXPLAIN for: SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
0|0|0|SEARCH TABLE discussion_comments USING INDEX index_discussion_comments_on_commentable_type (commentable_type=?) (~2 rows)
EXPLAIN for: SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
0|0|0|SEARCH TABLE users USING INTEGER PRIMARY KEY (rowid=?) (~1 rows)
0|0|0|EXECUTE LIST SUBQUERY 1
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (49.9ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (125.8ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC LIMIT 25 OFFSET 0[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (1161.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (1279.9ms)
Completed 500 Internal Server Error in 1428ms
ActionView::Template::Error (undefined method `assignment_comments_path' for #<#:0x0000000364ba60>):
1: <%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>
2:
3: <%= simple_form_for([commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
4: <%= f.error_notification %>
5: <%= render :partial => "discussion/comments/form", locals: {f: f} %>
6:
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:135:in `polymorphic_path'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:395:in `apply_form_for_options!'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:370:in `form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:29:in `block in simple_form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:48:in `with_simple_form_field_error_proc'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:28:in `simple_form_for'
/home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb:3:in `__home_jitu_projects_discussion_app_views_discussion_comments__list_with_form_html_erb___3230518291214990889_39969520'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_comments_index_js_erb__807983777104932969_39963800'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:167:in `to_js'
responders (0.9.3) lib/responders/flash_responder.rb:109:in `to_js'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:12:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2689322149942357893__process_action__991748977318478256__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.4ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 13ms (Views: 5.7ms | ActiveRecord: 0.6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Served asset /assignments.css - 304 Not Modified (5ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Served asset /application.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369540877&_=1369540877501" for 127.0.0.1 at 2013-05-26 10:01:17 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369540877", "_"=>"1369540877501", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (77.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (185.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (186.6ms)
Completed 200 OK in 193ms (Views: 187.9ms | ActiveRecord: 1.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.1ms)
Completed 200 OK in 13ms (Views: 9.3ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Served asset /application.css - 304 Not Modified (28ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Served asset /assignments.js - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369540884&_=1369540884953" for 127.0.0.1 at 2013-05-26 10:01:24 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369540884", "_"=>"1369540884953", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (7.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (17.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (18.4ms)
Completed 200 OK in 26ms (Views: 21.7ms | ActiveRecord: 0.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 34ms (Views: 5.8ms | ActiveRecord: 0.6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Served asset /application.css - 304 Not Modified (6ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369540925&_=1369540925246" for 127.0.0.1 at 2013-05-26 10:02:05 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369540925", "_"=>"1369540925246", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.5ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC LIMIT 25 OFFSET 0[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (81.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (82.9ms)
Completed 500 Internal Server Error in 89ms
ActionView::Template::Error (undefined method `assignment_comments_path' for #<#:0x007f3c78425e80>):
1: <%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>
2:
3: <%= simple_form_for([commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
4: <%= f.error_notification %>
5: <%= render :partial => "discussion/comments/form", locals: {f: f} %>
6:
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:135:in `polymorphic_path'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:395:in `apply_form_for_options!'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:370:in `form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:29:in `block in simple_form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:48:in `with_simple_form_field_error_proc'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:28:in `simple_form_for'
/home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb:3:in `__home_jitu_projects_discussion_app_views_discussion_comments__list_with_form_html_erb___3230518291214990889_39969520'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_comments_index_js_erb__807983777104932969_39963800'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:167:in `to_js'
responders (0.9.3) lib/responders/flash_responder.rb:109:in `to_js'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:12:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2689322149942357893__process_action__991748977318478256__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.2ms)
Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Served asset /application.css - 304 Not Modified (3ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369540977&_=1369540977130" for 127.0.0.1 at 2013-05-26 10:02:57 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369540977", "_"=>"1369540977130", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (7.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (14.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (15.7ms)
Completed 500 Internal Server Error in 21ms
ActionView::Template::Error ([#, #] is not a symbol):
1: <%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>
2:
3: <%= simple_form_for(main_app.send [commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
4: <%= f.error_notification %>
5: <%= render :partial => "discussion/comments/form", locals: {f: f} %>
6:
/home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb:3:in `__home_jitu_projects_discussion_app_views_discussion_comments__list_with_form_html_erb___3230518291214990889_69948844552180'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_comments_index_js_erb__807983777104932969_39963800'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:167:in `to_js'
responders (0.9.3) lib/responders/flash_responder.rb:109:in `to_js'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:12:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2689322149942357893__process_action__991748977318478256__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.6ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (20.9ms)
Completed 200 OK in 27ms (Views: 25.0ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369541123&_=1369541123754" for 127.0.0.1 at 2013-05-26 10:05:23 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369541123", "_"=>"1369541123754", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (6.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (2.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (18.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (19.6ms)
Completed 500 Internal Server Error in 25ms
ActionController::RoutingError (No route matches {:controller=>"discussion/comments"}):
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:544:in `raise_routing_error'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:540:in `rescue in generate'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:532:in `generate'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:573:in `generate'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:598:in `url_for'
actionpack (3.2.13) lib/action_dispatch/routing/url_for.rb:148:in `url_for'
actionpack (3.2.13) lib/action_view/helpers/url_helper.rb:107:in `url_for'
actionpack (3.2.13) lib/action_view/helpers/form_tag_helper.rb:619:in `block in html_options_for_form'
actionpack (3.2.13) lib/action_view/helpers/form_tag_helper.rb:615:in `tap'
actionpack (3.2.13) lib/action_view/helpers/form_tag_helper.rb:615:in `html_options_for_form'
actionpack (3.2.13) lib/action_view/helpers/form_tag_helper.rb:68:in `form_tag'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:380:in `form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:29:in `block in simple_form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:48:in `with_simple_form_field_error_proc'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:28:in `simple_form_for'
/home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb:3:in `__home_jitu_projects_discussion_app_views_discussion_comments__list_with_form_html_erb___3230518291214990889_69948777151120'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_comments_index_js_erb__807983777104932969_39963800'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:167:in `to_js'
responders (0.9.3) lib/responders/flash_responder.rb:109:in `to_js'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:12:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2689322149942357893__process_action__991748977318478256__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Served asset /application.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369541164&_=1369541164918" for 127.0.0.1 at 2013-05-26 10:06:04 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369541164", "_"=>"1369541164918", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (6.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (17.3ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (18.4ms)
Completed 500 Internal Server Error in 24ms
ActionController::RoutingError (No route matches {:controller=>"discussion/comments"}):
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:544:in `raise_routing_error'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:540:in `rescue in generate'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:532:in `generate'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:573:in `generate'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:598:in `url_for'
actionpack (3.2.13) lib/action_dispatch/routing/url_for.rb:148:in `url_for'
actionpack (3.2.13) lib/action_view/helpers/url_helper.rb:107:in `url_for'
actionpack (3.2.13) lib/action_view/helpers/form_tag_helper.rb:619:in `block in html_options_for_form'
actionpack (3.2.13) lib/action_view/helpers/form_tag_helper.rb:615:in `tap'
actionpack (3.2.13) lib/action_view/helpers/form_tag_helper.rb:615:in `html_options_for_form'
actionpack (3.2.13) lib/action_view/helpers/form_tag_helper.rb:68:in `form_tag'
actionpack (3.2.13) lib/action_view/helpers/form_helper.rb:380:in `form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:29:in `block in simple_form_for'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:48:in `with_simple_form_field_error_proc'
simple_form (2.1.0) lib/simple_form/action_view_extensions/form_helper.rb:28:in `simple_form_for'
/home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb:3:in `__home_jitu_projects_discussion_app_views_discussion_comments__list_with_form_html_erb___3230518291214990889_69948709917600'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_comments_index_js_erb__807983777104932969_39963800'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:167:in `to_js'
responders (0.9.3) lib/responders/flash_responder.rb:109:in `to_js'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/comments_controller.rb:12:in `index'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2689322149942357893__process_action__991748977318478256__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 14ms (Views: 5.6ms | ActiveRecord: 0.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Served asset /jquery_ujs.js - 304 Not Modified (5ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369541187&_=1369541187936" for 127.0.0.1 at 2013-05-26 10:06:27 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369541187", "_"=>"1369541187936", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (11.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (72.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (73.7ms)
Completed 200 OK in 80ms (Views: 74.9ms | ActiveRecord: 1.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 13ms (Views: 5.5ms | ActiveRecord: 0.7ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Served asset /jquery_ujs.js - 304 Not Modified (5ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369541234&_=1369541234462" for 127.0.0.1 at 2013-05-26 10:07:14 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369541234", "_"=>"1369541234462", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (11.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (48.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (49.7ms)
Completed 200 OK in 56ms (Views: 50.8ms | ActiveRecord: 1.6ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.6ms)
Completed 200 OK in 13ms (Views: 5.8ms | ActiveRecord: 0.6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369542777&_=1369542777720" for 127.0.0.1 at 2013-05-26 10:32:57 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369542777", "_"=>"1369542777720", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35mSQL (17.3ms)[0m INSERT INTO "discussion_comment_reads" ("comment_id", "created_at", "read_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["comment_id", 302], ["created_at", Sun, 26 May 2013 04:32:57 UTC +00:00], ["read_at", Sun, 26 May 2013 04:32:57 UTC +00:00], ["updated_at", Sun, 26 May 2013 04:32:57 UTC +00:00], ["user_id", 6]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 302 LIMIT 1[0m
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1
[1m[36m (226.8ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "discussion_comment_reads" ("comment_id", "created_at", "read_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["comment_id", 301], ["created_at", Sun, 26 May 2013 04:32:58 UTC +00:00], ["read_at", Sun, 26 May 2013 04:32:58 UTC +00:00], ["updated_at", Sun, 26 May 2013 04:32:58 UTC +00:00], ["user_id", 6]]
[1m[35mDiscussion::Comment Load (0.2ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 301 LIMIT 1
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1[0m
[1m[35m (174.8ms)[0m commit transaction
[1m[36mDiscussion::Comment Load (0.4ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (6.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (23.4ms)
Completed 200 OK in 611ms (Views: 28.6ms | ActiveRecord: 423.0ms)
Started POST "/assignments/1/comments" for 127.0.0.1 at 2013-05-26 10:33:05 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"test"}, "commit"=>"Create Comment", "assignment_id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mSQL (0.6ms)[0m INSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["author_id", 6], ["body", "test"], ["commentable_id", 1], ["commentable_type", "Assignment"], ["created_at", Sun, 26 May 2013 04:33:05 UTC +00:00], ["updated_at", Sun, 26 May 2013 04:33:05 UTC +00:00]]
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mSQL (0.1ms)[0m [1mUPDATE "assignments" SET "total_comments_post" = 3 WHERE "assignments"."id" = 1[0m
[1m[35m (208.7ms)[0m commit transaction
Redirected to http://localhost:3000/assignments/1
Completed 302 Found in 225ms (ActiveRecord: 209.8ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.4ms)
Completed 200 OK in 13ms (Views: 9.4ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Served asset /application.css - 304 Not Modified (8ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369542786&_=1369542786313" for 127.0.0.1 at 2013-05-26 10:33:06 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369542786", "_"=>"1369542786313", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "discussion_comment_reads" ("comment_id", "created_at", "read_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["comment_id", 303], ["created_at", Sun, 26 May 2013 04:33:06 UTC +00:00], ["read_at", Sun, 26 May 2013 04:33:06 UTC +00:00], ["updated_at", Sun, 26 May 2013 04:33:06 UTC +00:00], ["user_id", 6]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 303 LIMIT 1[0m
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1
[1m[36m (186.8ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.3ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mDiscussion::Comment Load (0.2ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (9.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (17.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (18.3ms)
Completed 200 OK in 235ms (Views: 19.7ms | ActiveRecord: 189.9ms)
Started POST "/assignments/1/comments" for 127.0.0.1 at 2013-05-26 10:55:36 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"test"}, "commit"=>"Create Comment", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["author_id", 6], ["body", "test"], ["commentable_id", 1], ["commentable_type", "Assignment"], ["created_at", Sun, 26 May 2013 04:55:37 UTC +00:00], ["updated_at", Sun, 26 May 2013 04:55:37 UTC +00:00]]
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mSQL (0.1ms)[0m UPDATE "assignments" SET "total_comments_post" = 4 WHERE "assignments"."id" = 1
[1m[36m (198.0ms)[0m [1mcommit transaction[0m
Redirected to http://localhost:3000/assignments/1
Completed 302 Found in 280ms (ActiveRecord: 199.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 11ms (Views: 6.2ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Served asset /scaffold.css - 304 Not Modified (4ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369544137&_=1369544137511" for 127.0.0.1 at 2013-05-26 10:55:37 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369544137", "_"=>"1369544137511", "assignment_id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mDiscussion::Comment Load (0.2ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (18.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (28.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (51.1ms)
[1m[35mDiscussion::Comment Load (0.2ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "discussion_comment_reads" ("comment_id", "created_at", "read_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["comment_id", 304], ["created_at", Sun, 26 May 2013 04:55:37 UTC +00:00], ["read_at", Sun, 26 May 2013 04:55:37 UTC +00:00], ["updated_at", Sun, 26 May 2013 04:55:37 UTC +00:00], ["user_id", 6]]
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 304 LIMIT 1
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1[0m
[1m[35m (221.9ms)[0m commit transaction
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 313ms (Views: 52.2ms | ActiveRecord: 225.5ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Served asset /application.css - 304 Not Modified (8ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Served asset /jquery.js - 304 Not Modified (4ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369544139&_=1369544139986" for 127.0.0.1 at 2013-05-26 10:55:39 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369544139", "_"=>"1369544139986", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (13.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (24.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (24.9ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 50ms (Views: 26.0ms | ActiveRecord: 2.9ms)
Started GET "/discussion/threads" for 127.0.0.1 at 2013-05-26 10:58:04 +0600
Processing by Discussion::ThreadsController#index as HTML
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_thread_reads" ON "discussion_thread_reads"."thread_id" = "discussion_threads"."id" WHERE (discussion_thread_reads.user_id = 6 AND discussion_thread_reads.read = 'f')
[1m[36mDiscussion::Thread Load (0.4ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE (discussion_concerns.user_id=6) ORDER BY discussion_threads.last_posted_at DESC LIMIT 25 OFFSET 0[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (3, 6, 2, 1, 5, 4)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 89 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 84 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 81 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 77 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 76 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 75 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 74 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 73 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 71 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 69 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 65 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 56 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 50 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 49 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 49 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 48 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 43 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 39 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 35 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 33 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 32 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 21 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 19 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE (discussion_concerns.user_id=6)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_list.html.erb (254.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/index.html.erb within layouts/application (265.1ms)
Completed 200 OK in 402ms (Views: 295.5ms | ActiveRecord: 5.4ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:58:05 +0600
Served asset /application.css - 304 Not Modified (9ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:58:05 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:58:05 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:58:05 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:58:05 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:58:05 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:58:05 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 10:58:07 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[36mDiscussion::Thread Load (0.4ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1[0m [["id", "95"]]
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.3ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.2ms)[0m [1mUPDATE "discussion_thread_reads" SET "read" = 't', "updated_at" = '2013-05-26 04:58:07.788941' WHERE "discussion_thread_reads"."id" = 170[0m
deleting cache for :: 6
=================================================================
[1m[35m (172.7ms)[0m commit transaction
[1m[36mDiscussion::Comment Load (1.0ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.3ms)[0m [1mUPDATE "discussion_comment_reads" SET "read_at" = '2013-05-26 04:58:07.976622', "updated_at" = '2013-05-26 04:58:07.978052' WHERE "discussion_comment_reads"."id" = 508[0m
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 283 LIMIT 1
[1m[36mDiscussion::Thread Load (0.1ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 95 LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.1ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6 LIMIT 1
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=6)
[1m[36m (0.1ms)[0m [1mUPDATE "discussion_thread_reads" SET "read" = 'f', "updated_at" = '2013-05-26 04:58:07.993516' WHERE "discussion_thread_reads"."id" = 170[0m
deleting cache for :: 6
=================================================================
[1m[35m (225.3ms)[0m commit transaction
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.4ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.3ms)[0m UPDATE "discussion_comment_reads" SET "read_at" = '2013-05-26 04:58:08.230939', "updated_at" = '2013-05-26 04:58:08.233722' WHERE "discussion_comment_reads"."id" = 509
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 284 LIMIT 1[0m
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 95 LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.1ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6 LIMIT 1[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
[1m[36m (0.3ms)[0m [1mSELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=6)[0m
[1m[35m (167.4ms)[0m commit transaction
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.2ms)[0m UPDATE "discussion_comment_reads" SET "read_at" = '2013-05-26 04:58:08.424938', "updated_at" = '2013-05-26 04:58:08.426536' WHERE "discussion_comment_reads"."id" = 510
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 285 LIMIT 1[0m
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 95 LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.1ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6 LIMIT 1[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
[1m[36m (0.3ms)[0m [1mSELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=6)[0m
[1m[35m (0.1ms)[0m UPDATE "discussion_thread_reads" SET "read" = 't', "updated_at" = '2013-05-26 04:58:08.439177' WHERE "discussion_thread_reads"."id" = 170
deleting cache for :: 6
=================================================================
[1m[36m (167.6ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
[1m[36mDiscussion::Comment Load (0.3ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (3, 1)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (10.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (2.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (20.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (45.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (46.7ms)
Completed 200 OK in 896ms (Views: 49.6ms | ActiveRecord: 741.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:58:08 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:58:08 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:58:08 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:58:08 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:58:08 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:58:08 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:58:08 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 10:58:38 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[36mDiscussion::Thread Load (0.2ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1[0m [["id", "95"]]
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.4ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mDiscussion::Comment Load (0.3ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (30.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (30.6ms)
Completed 500 Internal Server Error in 58ms
ActionView::Template::Error (undefined method `thread_comments_url' for #):
10: <%= @thread.initiator.try(:email) %>
11:
12:
13: <%= load_comments_for(@thread, lazy: true) %>
actionpack (3.2.13) lib/action_dispatch/routing/routes_proxy.rb:34:in `method_missing'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
/home/jitu/projects/discussion/app/helpers/discussion/comments_helper.rb:10:in `load_comments_for'
/home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb:13:in `__home_jitu_projects_discussion_app_views_discussion_threads__view_html_erb__1762202207860790272_69948844976000'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_threads_show_html_erb___702141941222528672_69948778684680'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:160:in `to_html'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/threads_controller.rb:20:in `show'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:426:in `block in _run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_1024'
activesupport (3.2.13) lib/active_support/callbacks.rb:326:in `around'
activesupport (3.2.13) lib/active_support/callbacks.rb:310:in `_callback_around_1005'
activesupport (3.2.13) lib/active_support/callbacks.rb:214:in `_conditional_callback_around_1024'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms)
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 10:59:16 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[35mDiscussion::Thread Load (0.2ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1 [["id", "95"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.1ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mDiscussion::Comment Load (0.3ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
[1m[36mCACHE (0.0ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (3, 1)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (8.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (15.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (18.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (19.4ms)
Completed 200 OK in 45ms (Views: 22.1ms | ActiveRecord: 2.4ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 10:59:17 +0600
Served asset /application.css - 304 Not Modified (8ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 10:59:17 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 10:59:17 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 10:59:17 +0600
Served asset /jquery_ujs.js - 304 Not Modified (6ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 10:59:17 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 10:59:17 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 10:59:17 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 10:59:46 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[36mDiscussion::Thread Load (0.1ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1[0m [["id", "95"]]
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.4ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
[1m[35mDiscussion::Comment Load (0.7ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (8.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (9.5ms)
Completed 500 Internal Server Error in 42ms
ActionView::Template::Error (undefined method `thread_comments_url' for #):
11:
12:
13: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @thread} %>
14: <%= load_comments_for(@thread, lazy: true) %>
actionpack (3.2.13) lib/action_dispatch/routing/routes_proxy.rb:34:in `method_missing'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
/home/jitu/projects/discussion/app/helpers/discussion/comments_helper.rb:10:in `load_comments_for'
/home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb:14:in `__home_jitu_projects_discussion_app_views_discussion_threads__view_html_erb__1762202207860790272_69948676419440'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_threads_show_html_erb___702141941222528672_69948778684680'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:160:in `to_html'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/threads_controller.rb:20:in `show'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:426:in `block in _run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_1024'
activesupport (3.2.13) lib/active_support/callbacks.rb:326:in `around'
activesupport (3.2.13) lib/active_support/callbacks.rb:310:in `_callback_around_1005'
activesupport (3.2.13) lib/active_support/callbacks.rb:214:in `_conditional_callback_around_1024'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms)
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 11:00:38 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1 [["id", "95"]]
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.1ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mDiscussion::Comment Load (0.7ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (9.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (10.4ms)
Completed 500 Internal Server Error in 109ms
ActionView::Template::Error (undefined method `thread_comments_url' for #):
11:
12:
13: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @thread} %>
14: <%= load_comments_for(@thread, lazy: true) %>
actionpack (3.2.13) lib/action_dispatch/routing/routes_proxy.rb:34:in `method_missing'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
/home/jitu/projects/discussion/app/helpers/discussion/comments_helper.rb:10:in `load_comments_for'
/home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb:14:in `__home_jitu_projects_discussion_app_views_discussion_threads__view_html_erb__1762202207860790272_69948676419440'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_threads_show_html_erb___702141941222528672_69948778684680'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:160:in `to_html'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/threads_controller.rb:20:in `show'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:426:in `block in _run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_1111'
activesupport (3.2.13) lib/active_support/callbacks.rb:326:in `around'
activesupport (3.2.13) lib/active_support/callbacks.rb:310:in `_callback_around_1105'
activesupport (3.2.13) lib/active_support/callbacks.rb:214:in `_conditional_callback_around_1111'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 11:01:52 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[36mDiscussion::Thread Load (0.1ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1[0m [["id", "95"]]
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.1ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mDiscussion::Comment Load (0.6ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (9.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (10.4ms)
Completed 500 Internal Server Error in 115ms
ActionView::Template::Error (undefined method `thread_comments_url' for #):
11:
12:
13: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @thread} %>
14: <%= load_comments_for(@thread, lazy: true) %>
actionpack (3.2.13) lib/action_dispatch/routing/routes_proxy.rb:34:in `method_missing'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
/home/jitu/projects/discussion/app/helpers/discussion/comments_helper.rb:10:in `load_comments_for'
/home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb:14:in `__home_jitu_projects_discussion_app_views_discussion_threads__view_html_erb__1762202207860790272_69948676419440'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_threads_show_html_erb___702141941222528672_69948778684680'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:160:in `to_html'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/threads_controller.rb:20:in `show'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:426:in `block in _run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_1288'
activesupport (3.2.13) lib/active_support/callbacks.rb:326:in `around'
activesupport (3.2.13) lib/active_support/callbacks.rb:310:in `_callback_around_1282'
activesupport (3.2.13) lib/active_support/callbacks.rb:214:in `_conditional_callback_around_1288'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms)
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 11:02:02 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1 [["id", "95"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.1ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mDiscussion::Comment Load (0.6ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (9.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (10.4ms)
Completed 500 Internal Server Error in 112ms
ActionView::Template::Error (undefined method `thread_comments_url' for #):
11:
12:
13: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @thread} %>
14: <%= load_comments_for(@thread, lazy: true) %>
actionpack (3.2.13) lib/action_dispatch/routing/routes_proxy.rb:34:in `method_missing'
actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
/home/jitu/projects/discussion/app/helpers/discussion/comments_helper.rb:10:in `load_comments_for'
/home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb:14:in `__home_jitu_projects_discussion_app_views_discussion_threads__view_html_erb__1762202207860790272_69948676419440'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
/home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb:1:in `__home_jitu_projects_discussion_app_views_discussion_threads_show_html_erb___702141941222528672_69948778684680'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:160:in `to_html'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
/home/jitu/projects/discussion/app/controllers/discussion/threads_controller.rb:20:in `show'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:426:in `block in _run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_1465'
activesupport (3.2.13) lib/active_support/callbacks.rb:326:in `around'
activesupport (3.2.13) lib/active_support/callbacks.rb:310:in `_callback_around_1459'
activesupport (3.2.13) lib/active_support/callbacks.rb:214:in `_conditional_callback_around_1465'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3868867919014466196__process_action__520724210246623796__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiling_methods.rb:90:in `block in profile_method'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2244539138320128973__call__1704585147219379638__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/jitu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms)
Connecting to database specified by database.yml
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 11:02:14 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[36mDiscussion::Thread Load (0.1ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1[0m [["id", "95"]]
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.1ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mDiscussion::Comment Load (0.6ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.1ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (35.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (56.7ms)
Completed 500 Internal Server Error in 202ms
ActionView::Template::Error (undefined method `discussion_thread_comments_url' for #<#:0x007ffda4885078>):
11:
12:
13: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @thread} %>
14: <%= load_comments_for(@thread, lazy: true) %>
app/helpers/application_helper.rb:6:in `rescue in method_missing'
app/helpers/application_helper.rb:4:in `method_missing'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 11:02:24 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1 [["id", "95"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.1ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mDiscussion::Comment Load (0.6ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (13.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (14.1ms)
Completed 500 Internal Server Error in 110ms
ActionView::Template::Error (undefined method `discussion_thread_comments_url' for #<#:0x00000003126b20>):
11:
12:
13: <%#= render :partial => "discussion/comments/list_with_form", locals: {commentable: @thread} %>
14: <%= load_comments_for(@thread, lazy: true) %>
app/helpers/application_helper.rb:6:in `rescue in method_missing'
app/helpers/application_helper.rb:4:in `method_missing'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
Connecting to database specified by database.yml
Started GET "/discussion/threads/95" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"95"}
[1m[36mDiscussion::Thread Load (0.2ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1[0m [["id", "95"]]
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.1ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mDiscussion::Comment Load (0.5ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (24.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (29.1ms)
Completed 200 OK in 182ms (Views: 61.8ms | ActiveRecord: 4.7ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Served asset /application.css - 304 Not Modified (27ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Served asset /assignments.css - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Served asset /jquery_ujs.js - 304 Not Modified (5ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Served asset /application.js - 304 Not Modified (6ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/discussion/threads/95/comments?contrinerId=comments-1369544695&_=1369544695906" for 127.0.0.1 at 2013-05-26 11:04:55 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369544695", "_"=>"1369544695906", "thread_id"=>"95"}
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1 [["id", "95"]]
[1m[36mDiscussion::Comment Load (0.5ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (3, 1)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (31.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (7.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (174.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (175.4ms)
[1m[36mDiscussion::Comment Load (0.4ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 95 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (3, 1)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 285 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 285 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 284 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 284 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 283 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 283 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 217ms (Views: 197.0ms | ActiveRecord: 3.0ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.0ms)
Completed 200 OK in 20ms (Views: 11.6ms | ActiveRecord: 0.4ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Served asset /assignments.css - 304 Not Modified (9ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369544703&_=1369544703894" for 127.0.0.1 at 2013-05-26 11:05:03 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369544703", "_"=>"1369544703894", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (34.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (43.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (45.0ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.4ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 75ms (Views: 46.5ms | ActiveRecord: 3.3ms)
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 11:09:59 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (19.5ms)
Completed 500 Internal Server Error in 70ms
ActionView::Template::Error (cannot load such file -- coffee_script
(in /home/jitu/projects/discussion/app/assets/javascripts/discussion/discussion.js)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__276808510316697899_35824180'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (16.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (21.1ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 11:10:59 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (19.3ms)
Completed 500 Internal Server Error in 72ms
ActionView::Template::Error (couldn't find file 'discussion'
(in /home/jitu/projects/discussion/test/dummy/app/assets/javascripts/application.js:3)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__187459563931587314_28229420'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 11:44:47 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (4.5ms)
Completed 500 Internal Server Error in 78ms
ActionView::Template::Error (require_tree argument must be a relative path
(in /home/jitu/projects/discussion/test/dummy/app/assets/javascripts/application.js:3)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3598318763623026402_31018100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 11:45:18 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (4.5ms)
Completed 500 Internal Server Error in 80ms
ActionView::Template::Error (require_tree argument must be a relative path
(in /home/jitu/projects/discussion/test/dummy/app/assets/javascripts/application.js:3)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___3812629259581568724_36653720'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:28:06 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (33.1ms)
Completed 500 Internal Server Error in 555ms
ActionView::Template::Error (require_tree argument must be a relative path
(in /home/jitu/projects/discussion/test/dummy/app/assets/javascripts/application.js:3)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3282005227545754129_33264100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (58.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:28:24 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (0.9ms)
Completed 500 Internal Server Error in 13ms
ActionView::Template::Error (couldn't find file 'discussion'
(in /home/jitu/projects/discussion/test/dummy/app/assets/javascripts/application.js:3)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3282005227545754129_33264100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (15.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:28:33 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.1ms)
Completed 500 Internal Server Error in 15ms
ActionView::Template::Error (couldn't find file 'discussion/discussion/application'
(in /home/jitu/projects/discussion/test/dummy/app/assets/javascripts/application.js:3)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3282005227545754129_33264100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:28:36 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.2ms)
Completed 500 Internal Server Error in 85ms
ActionView::Template::Error (cannot load such file -- coffee_script
(in /home/jitu/projects/discussion/app/assets/javascripts/discussion/discussion.js)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3282005227545754129_33264100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:28:50 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.0ms)
Completed 500 Internal Server Error in 14ms
ActionView::Template::Error (cannot load such file -- coffee_script
(in /home/jitu/projects/discussion/app/assets/javascripts/discussion/discussion.js)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3282005227545754129_33264100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:28:51 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.0ms)
Completed 500 Internal Server Error in 15ms
ActionView::Template::Error (cannot load such file -- coffee_script
(in /home/jitu/projects/discussion/app/assets/javascripts/discussion/discussion.js)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3282005227545754129_33264100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:28:52 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.1ms)
Completed 500 Internal Server Error in 14ms
ActionView::Template::Error (cannot load such file -- coffee_script
(in /home/jitu/projects/discussion/app/assets/javascripts/discussion/discussion.js)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3282005227545754129_33264100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:28:52 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (0.9ms)
Completed 500 Internal Server Error in 14ms
ActionView::Template::Error (cannot load such file -- coffee_script
(in /home/jitu/projects/discussion/app/assets/javascripts/discussion/discussion.js)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3282005227545754129_33264100'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:30:26 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.5ms)
Completed 500 Internal Server Error in 84ms
ActionView::Template::Error (cannot load such file -- coffee_script
(in /home/jitu/projects/discussion/app/assets/javascripts/discussion/discussion.js)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__1127449897358114619_33762260'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:30:28 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (0.9ms)
Completed 500 Internal Server Error in 19ms
ActionView::Template::Error (cannot load such file -- coffee_script
(in /home/jitu/projects/discussion/app/assets/javascripts/discussion/discussion.js)):
3:
4: Dummy
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__1127449897358114619_33762260'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.2ms)
Compiled discussion/application.js (0ms) (pid 3723)
Compiled application.js (128ms) (pid 3723)
Completed 200 OK in 217ms (Views: 190.2ms | ActiveRecord: 1.6ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Served asset /discussion/application.js - 200 OK (53ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Served asset /application.js - 200 OK (20ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Served asset /assignments.css - 304 Not Modified (2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Served asset /application.css - 304 Not Modified (11ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Served asset /jquery.js - 304 Not Modified (4ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575051&_=1369575051664" for 127.0.0.1 at 2013-05-26 19:30:51 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575051", "_"=>"1369575051664", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (35.5ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (44.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (134.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (78.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (863.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (894.6ms)
[1m[36mDiscussion::Comment Load (0.4ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 998ms (Views: 847.1ms | ActiveRecord: 83.6ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.9ms)
Compiled discussion/discussion.js (0ms) (pid 3792)
Compiled discussion/application.js (5ms) (pid 3792)
Compiled application.js (2ms) (pid 3792)
Completed 200 OK in 175ms (Views: 162.0ms | ActiveRecord: 2.0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /discussion/discussion.js - 200 OK (36ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /application.css - 304 Not Modified (16ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /jquery_ujs.js - 304 Not Modified (7ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /assignments.css - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /jquery.js - 304 Not Modified (11ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /discussion/application.js - 200 OK (11ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /assignments.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Served asset /application.js - 304 Not Modified (6ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575133&_=1369575133482" for 127.0.0.1 at 2013-05-26 19:32:13 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575133", "_"=>"1369575133482", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (36.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (23.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (233.3ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (237.8ms)
[1m[36mDiscussion::Comment Load (0.5ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.5ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 327ms (Views: 259.4ms | ActiveRecord: 4.1ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.4ms)
Compiled discussion/discussion.js (0ms) (pid 3943)
Compiled discussion/application.js (1ms) (pid 3943)
Compiled application.js (2ms) (pid 3943)
Completed 200 OK in 78ms (Views: 65.7ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /application.css - 304 Not Modified (18ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /scaffold.css - 304 Not Modified (3ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /discussion/discussion.js - 200 OK (4ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /assignments.css - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /jquery_ujs.js - 304 Not Modified (6ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /jquery.js - 304 Not Modified (5ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /discussion/application.js - 304 Not Modified (12ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:36:54 +0600
Served asset /application.js - 304 Not Modified (6ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.4ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (19.4ms)
Compiled discussion/discussion.js (0ms) (pid 4021)
Compiled discussion/application.js (1ms) (pid 4021)
Compiled application.js (2ms) (pid 4021)
Completed 200 OK in 83ms (Views: 63.1ms | ActiveRecord: 2.0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /application.css - 304 Not Modified (25ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /assignments.css - 304 Not Modified (2ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /discussion/discussion.js - 200 OK (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /scaffold.css - 304 Not Modified (8ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /jquery.js - 304 Not Modified (9ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /discussion/application.js - 304 Not Modified (10ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /assignments.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Served asset /application.js - 304 Not Modified (6ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575540&_=1369575540464" for 127.0.0.1 at 2013-05-26 19:39:00 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575540", "_"=>"1369575540464", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (39.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (7.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (219.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (223.2ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 307ms (Views: 243.2ms | ActiveRecord: 3.5ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:39:21 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.8ms)
Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /application.css - 304 Not Modified (9ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /discussion/application.js - 304 Not Modified (8ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575561&_=1369575562132" for 127.0.0.1 at 2013-05-26 19:39:22 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575561", "_"=>"1369575562132", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (13.3ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (22.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (23.0ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 48ms (Views: 24.1ms | ActiveRecord: 2.8ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /jquery.js - 304 Not Modified (4ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /discussion/application.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575607&_=1369575607981" for 127.0.0.1 at 2013-05-26 19:40:07 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575607", "_"=>"1369575607981", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (13.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (2.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (24.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (24.9ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 49ms (Views: 25.8ms | ActiveRecord: 2.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.8ms)
Completed 200 OK in 33ms (Views: 28.9ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /assignments.css - 304 Not Modified (5ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /discussion/application.js - 304 Not Modified (4ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575653&_=1369575653657" for 127.0.0.1 at 2013-05-26 19:40:53 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575653", "_"=>"1369575653657", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.0ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 46ms (Views: 22.9ms | ActiveRecord: 2.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 36ms (Views: 34.3ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /application.css - 304 Not Modified (15ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /scaffold.css - 304 Not Modified (5ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /jquery.js - 304 Not Modified (11ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /discussion/application.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575661&_=1369575661553" for 127.0.0.1 at 2013-05-26 19:41:01 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575661", "_"=>"1369575661553", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (13.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (22.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (23.0ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 48ms (Views: 24.1ms | ActiveRecord: 2.8ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.3ms)
Completed 200 OK in 63ms (Views: 36.4ms | ActiveRecord: 1.7ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /application.css - 304 Not Modified (24ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /assignments.css - 304 Not Modified (6ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /jquery_ujs.js - 304 Not Modified (8ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /discussion/discussion.js - 304 Not Modified (3ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /discussion/application.js - 304 Not Modified (22ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /jquery.js - 304 Not Modified (21ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Served asset /application.js - 304 Not Modified (14ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575669&_=1369575669847" for 127.0.0.1 at 2013-05-26 19:41:09 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575669", "_"=>"1369575669847", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (20.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (7.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (196.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (215.2ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
Completed 200 OK in 318ms (Views: 221.7ms | ActiveRecord: 3.5ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (3.0ms)
Completed 200 OK in 15ms (Views: 11.6ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /scaffold.css - 304 Not Modified (4ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /jquery.js - 304 Not Modified (6ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /discussion/application.js - 304 Not Modified (7ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575724&_=1369575724302" for 127.0.0.1 at 2013-05-26 19:42:04 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575724", "_"=>"1369575724302", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.5ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 46ms (Views: 23.7ms | ActiveRecord: 2.5ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.8ms)
Completed 200 OK in 17ms (Views: 13.4ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /application.css - 304 Not Modified (17ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /discussion/discussion.js - 304 Not Modified (26ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /discussion/application.js - 304 Not Modified (8ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575731&_=1369575731887" for 127.0.0.1 at 2013-05-26 19:42:11 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575731", "_"=>"1369575731887", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.0ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 47ms (Views: 23.4ms | ActiveRecord: 2.6ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (3.0ms)
Completed 200 OK in 18ms (Views: 13.9ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /application.css - 304 Not Modified (6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /discussion/discussion.js - 304 Not Modified (27ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /discussion/application.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575743&_=1369575743461" for 127.0.0.1 at 2013-05-26 19:42:23 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575743", "_"=>"1369575743461", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.1ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 46ms (Views: 23.2ms | ActiveRecord: 2.6ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.8ms)
Completed 200 OK in 17ms (Views: 13.3ms | ActiveRecord: 0.2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /scaffold.css - 304 Not Modified (4ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /application.css - 304 Not Modified (37ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /assignments.css - 304 Not Modified (3ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /discussion/application.js - 304 Not Modified (10ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575757&_=1369575757472" for 127.0.0.1 at 2013-05-26 19:42:37 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575757", "_"=>"1369575757472", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (22.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.9ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 46ms (Views: 24.0ms | ActiveRecord: 2.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.8ms)
Completed 200 OK in 13ms (Views: 9.4ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /application.css - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /scaffold.css - 304 Not Modified (5ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /discussion/discussion.js - 304 Not Modified (27ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /discussion/application.js - 304 Not Modified (9ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575769&_=1369575769303" for 127.0.0.1 at 2013-05-26 19:42:49 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575769", "_"=>"1369575769303", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (2.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (23.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (24.2ms)
[1m[36mDiscussion::Comment Load (0.3ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 51ms (Views: 25.8ms | ActiveRecord: 2.8ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.8ms)
Completed 200 OK in 13ms (Views: 9.6ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /assignments.css - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /scaffold.css - 304 Not Modified (4ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /discussion/discussion.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /discussion/application.js - 304 Not Modified (45ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369575832&_=1369575832802" for 127.0.0.1 at 2013-05-26 19:43:52 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369575832", "_"=>"1369575832802", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.3ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.1ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 46ms (Views: 23.3ms | ActiveRecord: 2.5ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 20:51:09 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (22.2ms)
Completed 200 OK in 338ms (Views: 259.6ms | ActiveRecord: 65.1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /application.css - 304 Not Modified (18ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /discussion/application.js - 304 Not Modified (10ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /discussion/discussion.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /application.js - 304 Not Modified (5ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369579870&_=1369579870664" for 127.0.0.1 at 2013-05-26 20:51:10 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369579870", "_"=>"1369579870664", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (36.6ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (41.5ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (96.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (77.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (737.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (765.7ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 941ms (Views: 773.0ms | ActiveRecord: 81.4ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /application.css - 304 Not Modified (7ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /scaffold.css - 304 Not Modified (5ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /assignments.css - 304 Not Modified (4ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /discussion/discussion.js - 304 Not Modified (7ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /discussion/application.js - 304 Not Modified (7ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369579901&_=1369579901947" for 127.0.0.1 at 2013-05-26 20:51:41 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369579901", "_"=>"1369579901947", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (14.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (23.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (24.0ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 49ms (Views: 25.0ms | ActiveRecord: 2.8ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.6ms)
Compiled discussion/application.js (0ms) (pid 3639)
Compiled application.js (2ms) (pid 3639)
Completed 200 OK in 111ms (Views: 98.6ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /application.css - 304 Not Modified (26ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /scaffold.css - 304 Not Modified (3ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /discussion/discussion.js - 304 Not Modified (5ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /assignments.css - 304 Not Modified (2ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /discussion/application.js - 200 OK (6ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /application.js - 304 Not Modified (16ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Served asset /jquery.js - 304 Not Modified (4ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369579983&_=1369579983457" for 127.0.0.1 at 2013-05-26 20:53:03 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369579983", "_"=>"1369579983457", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (25.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (7.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (214.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (233.8ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.5ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 326ms (Views: 240.3ms | ActiveRecord: 3.8ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.8ms)
Completed 200 OK in 34ms (Views: 30.2ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /discussion/discussion.js - 304 Not Modified (2ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /discussion/application.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369580108&_=1369580108685" for 127.0.0.1 at 2013-05-26 20:55:08 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369580108", "_"=>"1369580108685", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.7ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 48ms (Views: 23.8ms | ActiveRecord: 2.8ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.1ms)
Compiled discussion/discussion.js (0ms) (pid 3746)
Compiled discussion/application.js (0ms) (pid 3746)
Compiled application.js (2ms) (pid 3746)
Completed 200 OK in 96ms (Views: 69.3ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /application.css - 304 Not Modified (7ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /scaffold.css - 304 Not Modified (3ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /assignments.css - 304 Not Modified (3ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /jquery_ujs.js - 304 Not Modified (33ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /discussion/discussion.js - 200 OK (3ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /jquery.js - 304 Not Modified (9ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /discussion/application.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Served asset /application.js - 304 Not Modified (6ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369580220&_=1369580220687" for 127.0.0.1 at 2013-05-26 20:57:00 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369580220", "_"=>"1369580220687", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (21.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (7.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (213.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (231.6ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 293ms (Views: 236.9ms | ActiveRecord: 3.4ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.9ms)
Completed 200 OK in 15ms (Views: 11.1ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /scaffold.css - 304 Not Modified (5ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /discussion/application.js - 304 Not Modified (5ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369580311&_=1369580311925" for 127.0.0.1 at 2013-05-26 20:58:31 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369580311", "_"=>"1369580311925", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (20.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (21.7ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 45ms (Views: 22.8ms | ActiveRecord: 2.5ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 20:58:40 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.8ms)
Completed 200 OK in 63ms (Views: 36.1ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /application.css - 304 Not Modified (7ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /assignments.css - 304 Not Modified (6ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /jquery_ujs.js - 304 Not Modified (9ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /discussion/discussion.js - 304 Not Modified (5ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /discussion/application.js - 304 Not Modified (5ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /application.js - 304 Not Modified (28ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369580320&_=1369580321249" for 127.0.0.1 at 2013-05-26 20:58:41 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369580320", "_"=>"1369580321249", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (20.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (7.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (211.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (215.4ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 295ms (Views: 219.6ms | ActiveRecord: 3.5ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-26 21:01:53 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.7ms)
Compiled discussion/discussion.js (0ms) (pid 3916)
Compiled discussion/application.js (0ms) (pid 3916)
Compiled application.js (2ms) (pid 3916)
Completed 200 OK in 88ms (Views: 60.3ms | ActiveRecord: 1.5ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /assignments.css - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /discussion/discussion.js - 200 OK (18ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /discussion/application.js - 304 Not Modified (16ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /jquery.js - 304 Not Modified (7ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /assignments.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Served asset /application.js - 304 Not Modified (11ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369580514&_=1369580514246" for 127.0.0.1 at 2013-05-26 21:01:54 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369580514", "_"=>"1369580514246", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (20.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (23.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (216.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (235.8ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 298ms (Views: 241.1ms | ActiveRecord: 3.5ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:42:34 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (39.1ms)
Compiled discussion/discussion.js (0ms) (pid 3412)
Compiled discussion/application.js (0ms) (pid 3412)
Compiled application.js (2ms) (pid 3412)
Completed 200 OK in 472ms (Views: 396.7ms | ActiveRecord: 62.1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /discussion/application.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /application.js - 304 Not Modified (5ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /discussion/discussion.js - 200 OK (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Served asset /jquery.js - 304 Not Modified (21ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369712554&_=1369712555446" for 127.0.0.1 at 2013-05-28 09:42:35 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369712554", "_"=>"1369712555446", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (34.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (47.6ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (115.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (87.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (492.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (528.6ms)
[1m[36mDiscussion::Comment Load (0.3ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 809ms (Views: 485.2ms | ActiveRecord: 85.3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.9ms)
Completed 200 OK in 15ms (Views: 11.3ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /application.css - 304 Not Modified (4ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /scaffold.css - 304 Not Modified (9ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /discussion/application.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /application.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:42:44 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369712564&_=1369712565016" for 127.0.0.1 at 2013-05-28 09:42:45 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369712564", "_"=>"1369712565016", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (16.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (2.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (28.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (29.6ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.4ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 58ms (Views: 30.3ms | ActiveRecord: 3.3ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.9ms)
Compiled discussion/discussion.js (0ms) (pid 3412)
Compiled discussion/application.js (0ms) (pid 3412)
Compiled application.js (2ms) (pid 3412)
Completed 200 OK in 53ms (Views: 49.2ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /application.css - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /discussion/discussion.js - 200 OK (6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /discussion/application.js - 304 Not Modified (12ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /application.js - 304 Not Modified (14ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:43:07 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369712587&_=1369712587310" for 127.0.0.1 at 2013-05-28 09:43:08 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369712587", "_"=>"1369712587310", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (12.0ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.6ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.4ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 49ms (Views: 23.5ms | ActiveRecord: 2.9ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.9ms)
Compiled discussion/discussion.js (0ms) (pid 3412)
Compiled discussion/application.js (0ms) (pid 3412)
Compiled application.js (2ms) (pid 3412)
Completed 200 OK in 31ms (Views: 27.4ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /assignments.css - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /scaffold.css - 304 Not Modified (5ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /jquery_ujs.js - 304 Not Modified (6ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /discussion/discussion.js - 200 OK (8ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /discussion/application.js - 304 Not Modified (14ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /application.js - 304 Not Modified (15ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:44:02 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369712642&_=1369712642525" for 127.0.0.1 at 2013-05-28 09:44:03 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369712642", "_"=>"1369712642525", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (14.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (24.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (25.6ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 51ms (Views: 26.5ms | ActiveRecord: 2.8ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (18.7ms)
Completed 200 OK in 64ms (Views: 36.5ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /application.css - 304 Not Modified (37ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /assignments.css - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /scaffold.css - 304 Not Modified (3ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /discussion/discussion.js - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /discussion/application.js - 304 Not Modified (20ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /jquery.js - 304 Not Modified (6ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /assignments.js - 304 Not Modified (24ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:12 +0600
Served asset /application.js - 304 Not Modified (13ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369712712&_=1369712712819" for 127.0.0.1 at 2013-05-28 09:45:13 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369712712", "_"=>"1369712712819", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (21.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (7.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (217.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (221.6ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 304ms (Views: 225.4ms | ActiveRecord: 3.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (3.1ms)
Compiled discussion/discussion.js (0ms) (pid 3730)
Compiled discussion/application.js (0ms) (pid 3730)
Compiled application.js (20ms) (pid 3730)
Completed 200 OK in 123ms (Views: 118.6ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /application.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /discussion/discussion.js - 200 OK (4ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /discussion/application.js - 304 Not Modified (19ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Served asset /application.js - 304 Not Modified (17ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369712744&_=1369712744959" for 127.0.0.1 at 2013-05-28 09:45:44 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369712744", "_"=>"1369712744959", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.3ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (13.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (23.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (24.3ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 48ms (Views: 25.3ms | ActiveRecord: 2.8ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (3.1ms)
Completed 200 OK in 17ms (Views: 13.0ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /application.css - 304 Not Modified (6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /discussion/discussion.js - 304 Not Modified (3ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /discussion/application.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /jquery.js - 304 Not Modified (11ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369712779&_=1369712779938" for 127.0.0.1 at 2013-05-28 09:46:19 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369712779", "_"=>"1369712779938", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (34.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (44.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (45.6ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 70ms (Views: 46.6ms | ActiveRecord: 2.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (3.0ms)
Compiled discussion/discussion.js (0ms) (pid 3730)
Compiled discussion/application.js (0ms) (pid 3730)
Compiled application.js (2ms) (pid 3730)
Completed 200 OK in 52ms (Views: 48.4ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /application.css - 304 Not Modified (14ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /discussion/discussion.js - 200 OK (6ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /discussion/application.js - 304 Not Modified (10ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:46:42 +0600
Served asset /application.js - 304 Not Modified (18ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369712802&_=1369712803040" for 127.0.0.1 at 2013-05-28 09:46:43 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369712802", "_"=>"1369712803040", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.2ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (13.3ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (21.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (22.8ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 48ms (Views: 23.7ms | ActiveRecord: 2.7ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:54:06 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.7ms)
Compiled discussion/discussion.js (0ms) (pid 3730)
Compiled discussion/application.js (0ms) (pid 3730)
Compiled application.js (2ms) (pid 3730)
Completed 200 OK in 49ms (Views: 40.6ms | ActiveRecord: 0.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:54:06 +0600
Served asset /application.css - 304 Not Modified (9ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:54:06 +0600
Served asset /assignments.css - 304 Not Modified (4ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:54:06 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:54:06 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:54:06 +0600
Served asset /discussion/discussion.js - 200 OK (6ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:54:06 +0600
Served asset /discussion/application.js - 304 Not Modified (13ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:54:07 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:54:07 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:54:07 +0600
Served asset /application.js - 304 Not Modified (13ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369713246&_=1369713247064" for 127.0.0.1 at 2013-05-28 09:54:07 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369713246", "_"=>"1369713247064", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (17.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (54.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (56.0ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.3ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 109ms (Views: 57.0ms | ActiveRecord: 3.7ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:54:32 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (41.3ms)
Completed 500 Internal Server Error in 75ms
ActionView::Template::Error (undefined method `load_threads_for' for #<#:0x0000000154d1b0>):
29:
30:
31: <%#= load_comments_for(@assignment, remote: true) %>
32: <%= load_threads_for(@assignment, remote: true) %>
app/helpers/application_helper.rb:6:in `rescue in method_missing'
app/helpers/application_helper.rb:4:in `method_missing'
app/views/assignments/show.html.erb:32:in `_app_views_assignments_show_html_erb__379975831137640935_20031420'
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms)
Rendered /home/jitu/.rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.6ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (19.0ms)
Completed 200 OK in 64ms (Views: 36.6ms | ActiveRecord: 1.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /application.css - 304 Not Modified (34ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /assignments.css - 304 Not Modified (3ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /scaffold.css - 304 Not Modified (2ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /discussion/discussion.js - 304 Not Modified (4ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /discussion/application.js - 304 Not Modified (15ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /jquery.js - 304 Not Modified (7ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /assignments.js - 304 Not Modified (24ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Served asset /application.js - 304 Not Modified (10ms)
Started GET "/assignments/1/threads?contrinerId=threads-1369713326&_=1369713326550" for 127.0.0.1 at 2013-05-28 09:55:26 +0600
Processing by Discussion::ThreadsController#index as JS
Parameters: {"contrinerId"=>"threads-1369713326", "_"=>"1369713326550", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_thread_reads" ON "discussion_thread_reads"."thread_id" = "discussion_threads"."id" WHERE (discussion_thread_reads.user_id = 6 AND discussion_thread_reads.read = 'f')
[1m[36mDiscussion::Thread Load (0.2ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE "discussion_threads"."topic_id" = 1 AND "discussion_threads"."topic_type" = 'Assignment' AND (discussion_concerns.user_id=6) ORDER BY discussion_threads.last_posted_at DESC LIMIT 25 OFFSET 0[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE "discussion_threads"."topic_id" = 1 AND "discussion_threads"."topic_type" = 'Assignment' AND (discussion_concerns.user_id=6)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_list.html.erb (36.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/index.js.erb (40.9ms)
Completed 200 OK in 146ms (Views: 53.3ms | ActiveRecord: 1.6ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 09:58:59 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 14ms (Views: 6.3ms | ActiveRecord: 0.8ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /discussion/discussion.js - 304 Not Modified (4ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /discussion/application.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/threads?contrinerId=threads-1369713539&_=1369713540142" for 127.0.0.1 at 2013-05-28 09:59:00 +0600
Processing by Discussion::ThreadsController#index as JS
Parameters: {"contrinerId"=>"threads-1369713539", "_"=>"1369713540142", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::Thread Load (0.2ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE "discussion_threads"."topic_id" = 1 AND "discussion_threads"."topic_type" = 'Assignment' AND (discussion_concerns.user_id=6) ORDER BY discussion_threads.last_posted_at DESC LIMIT 25 OFFSET 0
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE "discussion_threads"."topic_id" = 1 AND "discussion_threads"."topic_type" = 'Assignment' AND (discussion_concerns.user_id=6)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_list.html.erb (10.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/index.js.erb (11.7ms)
Completed 200 OK in 45ms (Views: 14.3ms | ActiveRecord: 1.3ms)
Started GET "/discussion/threads" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Processing by Discussion::ThreadsController#index as HTML
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::Thread Load (0.4ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE (discussion_concerns.user_id=6) ORDER BY discussion_threads.last_posted_at DESC LIMIT 25 OFFSET 0[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (3, 6, 2, 1, 5, 4)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 89 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 84 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 81 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 77 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 76 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 75 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 74 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 73 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 71 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 69 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 65 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 56 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 50 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 49 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 49 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 48 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 43 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 39 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 35 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 33 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 32 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 21 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 19 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE (discussion_concerns.user_id=6)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_list.html.erb (214.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/index.html.erb within layouts/application (216.7ms)
Completed 200 OK in 224ms (Views: 216.7ms | ActiveRecord: 4.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /application.css - 304 Not Modified (4ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /discussion/application.js - 304 Not Modified (4ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:48 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/discussion/threads/91" for 127.0.0.1 at 2013-05-28 09:59:56 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"91"}
[1m[36mDiscussion::Thread Load (0.4ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1[0m [["id", "91"]]
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.4ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (58.7ms)[0m [1mUPDATE "discussion_thread_reads" SET "read" = 't', "updated_at" = '2013-05-28 03:59:56.178453' WHERE "discussion_thread_reads"."id" = 163[0m
deleting cache for :: 6
=================================================================
[1m[35m (189.0ms)[0m commit transaction
[1m[36mDiscussion::Comment Load (0.5ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 271 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 271 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.2ms)[0m [1mUPDATE "discussion_comment_reads" SET "read_at" = '2013-05-28 03:59:56.482112', "updated_at" = '2013-05-28 03:59:56.483768' WHERE "discussion_comment_reads"."id" = 487[0m
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 271 LIMIT 1
[1m[36mDiscussion::Thread Load (0.2ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 91 LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.1ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 LIMIT 1
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
[1m[35m (0.6ms)[0m SELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=6)
[1m[36m (0.1ms)[0m [1mUPDATE "discussion_thread_reads" SET "read" = 'f', "updated_at" = '2013-05-28 03:59:56.543678' WHERE "discussion_thread_reads"."id" = 163[0m
deleting cache for :: 6
=================================================================
[1m[35m (181.1ms)[0m commit transaction
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.5ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 272 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 272 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m UPDATE "discussion_comment_reads" SET "read_at" = '2013-05-28 03:59:56.739525', "updated_at" = '2013-05-28 03:59:56.740557' WHERE "discussion_comment_reads"."id" = 488
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 272 LIMIT 1[0m
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 91 LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.1ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 LIMIT 1[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
[1m[36m (0.3ms)[0m [1mSELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=6)[0m
[1m[35m (159.2ms)[0m commit transaction
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.4ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 273 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 273 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m UPDATE "discussion_comment_reads" SET "read_at" = '2013-05-28 03:59:56.919886', "updated_at" = '2013-05-28 03:59:56.921097' WHERE "discussion_comment_reads"."id" = 489
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 273 LIMIT 1[0m
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 91 LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.1ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 LIMIT 1[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=6)[0m
[1m[35m (0.1ms)[0m UPDATE "discussion_thread_reads" SET "read" = 't', "updated_at" = '2013-05-28 03:59:56.931966' WHERE "discussion_thread_reads"."id" = 163
deleting cache for :: 6
=================================================================
[1m[36m (167.1ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
[1m[36mDiscussion::Comment Load (1.0ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (4, 3)
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 271 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 272 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 273 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (9.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (2.3ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (146.1ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (151.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (153.1ms)
Completed 200 OK in 1142ms (Views: 191.5ms | ActiveRecord: 764.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /discussion/discussion.js - 304 Not Modified (4ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /discussion/application.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 09:59:57 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started POST "/discussion/threads/91/comments" for 127.0.0.1 at 2013-05-28 10:00:07 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"test"}, "commit"=>"Create Comment", "thread_id"=>"91"}
[1m[36mDiscussion::Thread Load (0.2ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1[0m [["id", "91"]]
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["author_id", 6], ["body", "test"], ["commentable_id", 91], ["commentable_type", "Discussion::Thread"], ["created_at", Tue, 28 May 2013 04:00:08 UTC +00:00], ["updated_at", Tue, 28 May 2013 04:00:08 UTC +00:00]]
[1m[36mDiscussion::Thread Load (0.1ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 91 LIMIT 1[0m
[1m[35mSQL (0.1ms)[0m UPDATE "discussion_threads" SET "last_posted_at" = '2013-05-28 04:00:08.014389' WHERE "discussion_threads"."id" = 91
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" INNER JOIN "discussion_concerns" ON "users"."id" = "discussion_concerns"."user_id" WHERE "discussion_concerns"."thread_id" = 91[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 305 AND "discussion_comment_reads"."user_id" = 6 LIMIT 1
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "discussion_comment_reads" ("comment_id", "created_at", "read_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["comment_id", 305], ["created_at", Tue, 28 May 2013 04:00:08 UTC +00:00], ["read_at", nil], ["updated_at", Tue, 28 May 2013 04:00:08 UTC +00:00], ["user_id", 6]]
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 305 LIMIT 1
[1m[36mDiscussion::Thread Load (0.1ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 91 LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.1ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 LIMIT 1
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=6)
[1m[36m (0.1ms)[0m [1mUPDATE "discussion_thread_reads" SET "read" = 'f', "updated_at" = '2013-05-28 04:00:08.118298' WHERE "discussion_thread_reads"."id" = 163[0m
deleting cache for :: 6
=================================================================
[1m[35mDiscussion::CommentRead Load (0.1ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 305 AND "discussion_comment_reads"."user_id" = 3 LIMIT 1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "discussion_comment_reads" ("comment_id", "created_at", "read_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["comment_id", 305], ["created_at", Tue, 28 May 2013 04:00:08 UTC +00:00], ["read_at", nil], ["updated_at", Tue, 28 May 2013 04:00:08 UTC +00:00], ["user_id", 3]]
[1m[35mDiscussion::Comment Load (0.1ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 305 LIMIT 1
[1m[36mDiscussion::Thread Load (0.1ms)[0m [1mSELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 91 LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.1ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 3 LIMIT 1
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=3)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'[0m
[1m[35mSQL (0.1ms)[0m UPDATE "discussion_threads" SET "total_comments_post" = 4 WHERE "discussion_threads"."id" = 91
[1m[36m (188.3ms)[0m [1mcommit transaction[0m
Redirected to http://localhost:3000/discussion/threads/91
Completed 302 Found in 325ms (ActiveRecord: 192.0ms)
Started GET "/discussion/threads/91" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Processing by Discussion::ThreadsController#show as HTML
Parameters: {"id"=>"91"}
[1m[35mDiscussion::Thread Load (0.2ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = ? LIMIT 1 [["id", "91"]]
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::ThreadRead Load (0.3ms)[0m SELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m UPDATE "discussion_thread_reads" SET "read" = 't', "updated_at" = '2013-05-28 04:00:08.356822' WHERE "discussion_thread_reads"."id" = 163
deleting cache for :: 6
=================================================================
[1m[36m (165.2ms)[0m [1mcommit transaction[0m
[1m[35mDiscussion::Comment Load (0.8ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 271 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 271 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 272 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 272 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.1ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 273 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 273 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 305 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 305 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m UPDATE "discussion_comment_reads" SET "read_at" = '2013-05-28 04:00:08.548770', "updated_at" = '2013-05-28 04:00:08.549764' WHERE "discussion_comment_reads"."id" = 548
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 305 LIMIT 1[0m
[1m[35mDiscussion::Thread Load (0.1ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" WHERE "discussion_threads"."id" = 91 LIMIT 1
[1m[36mDiscussion::ThreadRead Load (0.1ms)[0m [1mSELECT "discussion_thread_reads".* FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 LIMIT 1[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "discussion_comments"."id") FROM "discussion_comments" INNER JOIN "discussion_comment_reads" ON "discussion_comment_reads"."comment_id" = "discussion_comments"."id" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread' AND (discussion_comment_reads.read_at IS NULL AND user_id=6)[0m
[1m[35m (161.8ms)[0m commit transaction
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
[1m[35mDiscussion::Comment Load (0.3ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 91 AND "discussion_comments"."commentable_type" = 'Discussion::Thread'
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (4, 3, 6)[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 271 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 272 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 273 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 305 AND (user_id = 6 AND read_at IS NOT NULL)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (13.2ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (22.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_view.html.erb (25.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/show.html.erb within layouts/application (26.0ms)
Completed 200 OK in 440ms (Views: 59.1ms | ActiveRecord: 332.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /application.css - 304 Not Modified (19ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /jquery_ujs.js - 304 Not Modified (5ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /discussion/discussion.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /discussion/application.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:08 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/discussion/threads" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Processing by Discussion::ThreadsController#index as HTML
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_thread_reads" ON "discussion_thread_reads"."thread_id" = "discussion_threads"."id" WHERE (discussion_thread_reads.user_id = 6 AND discussion_thread_reads.read = 'f')[0m
[1m[35mDiscussion::Thread Load (0.5ms)[0m SELECT "discussion_threads".* FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE (discussion_concerns.user_id=6) ORDER BY discussion_threads.last_posted_at DESC LIMIT 25 OFFSET 0
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (3, 6, 2, 1, 5, 4)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 91 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 95 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 89 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 84 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 81 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 77 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 76 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 75 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 74 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 73 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 71 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 69 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 65 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 56 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 50 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 49 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 49 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 48 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 43 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 39 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 35 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 33 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 32 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 21 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_thread_reads" WHERE "discussion_thread_reads"."thread_id" = 19 AND "discussion_thread_reads"."user_id" = 6 AND "discussion_thread_reads"."read" = 'f'
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "discussion_threads" INNER JOIN "discussion_concerns" ON "discussion_concerns"."thread_id" = "discussion_threads"."id" WHERE (discussion_concerns.user_id=6)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/_list.html.erb (129.9ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/threads/index.html.erb within layouts/application (134.1ms)
Completed 200 OK in 146ms (Views: 134.7ms | ActiveRecord: 4.9ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /application.css - 304 Not Modified (2ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /jquery_ujs.js - 304 Not Modified (35ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /discussion/application.js - 304 Not Modified (6ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 10:00:13 +0600
Served asset /application.js - 304 Not Modified (2ms)
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 22:30:33 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (32.1ms)
Completed 200 OK in 418ms (Views: 342.8ms | ActiveRecord: 61.7ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /application.js - 304 Not Modified (8ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /assignments.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /discussion/discussion.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /discussion/application.js - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Served asset /jquery.js - 304 Not Modified (19ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369758633&_=1369758634493" for 127.0.0.1 at 2013-05-28 22:30:34 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369758633", "_"=>"1369758634493", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (28.4ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (61.1ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (103.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (85.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (581.8ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (601.7ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.1ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 698ms (Views: 539.6ms | ActiveRecord: 92.5ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-05-28 22:40:07 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 15ms (Views: 6.8ms | ActiveRecord: 0.6ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /assignments.css - 304 Not Modified (14ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /application.css - 304 Not Modified (7ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /discussion/application.js - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Served asset /application.js - 304 Not Modified (4ms)
Started GET "/assignments/1/comments?contrinerId=comments-1369759208&_=1369759208223" for 127.0.0.1 at 2013-05-28 22:40:08 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1369759208", "_"=>"1369759208223", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (17.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (76.4ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (77.3ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 107ms (Views: 77.7ms | ActiveRecord: 3.5ms)
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Started GET "/assignments/1" for 127.0.0.1 at 2013-06-01 09:09:39 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (65.3ms)
Completed 200 OK in 767ms (Views: 666.7ms | ActiveRecord: 87.0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /application.css - 304 Not Modified (3ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /application.js - 304 Not Modified (6ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /jquery.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /discussion/application.js - 304 Not Modified (19ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Served asset /discussion/discussion.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1370056180&_=1370056181615" for 127.0.0.1 at 2013-06-01 09:09:41 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1370056180", "_"=>"1370056181615", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (27.6ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (61.9ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (145.3ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (78.3ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (804.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (915.5ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
Completed 200 OK in 1124ms (Views: 909.9ms | ActiveRecord: 92.7ms)
Started POST "/assignments/1/comments" for 127.0.0.1 at 2013-06-01 09:11:48 +0600
Processing by Discussion::CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HixprP58yWNbUDd3J7hJWKbVjcaeys066xha6Inofzs=", "comment"=>{"body"=>"another test"}, "commit"=>"Create Comment", "assignment_id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35mSQL (67.1ms)[0m INSERT INTO "discussion_comments" ("author_id", "body", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["author_id", 6], ["body", "another test"], ["commentable_id", 1], ["commentable_type", "Assignment"], ["created_at", Sat, 01 Jun 2013 03:11:48 UTC +00:00], ["updated_at", Sat, 01 Jun 2013 03:11:48 UTC +00:00]]
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mSQL (0.1ms)[0m [1mUPDATE "assignments" SET "total_comments_post" = 5 WHERE "assignments"."id" = 1[0m
[1m[35m (230.1ms)[0m commit transaction
Redirected to http://localhost:3000/assignments/1
Completed 302 Found in 373ms (ActiveRecord: 298.1ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mAssignment Load (0.2ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 15ms (Views: 11.6ms | ActiveRecord: 0.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /application.css - 304 Not Modified (5ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /assignments.css - 304 Not Modified (1ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /scaffold.css - 304 Not Modified (1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /discussion/discussion.js - 304 Not Modified (0ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /discussion/application.js - 304 Not Modified (10ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Served asset /application.js - 304 Not Modified (2ms)
Started GET "/assignments/1/comments?contrinerId=comments-1370056309&_=1370056309472" for 127.0.0.1 at 2013-06-01 09:11:49 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1370056309", "_"=>"1370056309472", "assignment_id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'[0m
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 306 AND (user_id = 6 AND read_at IS NOT NULL)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (15.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (25.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (26.5ms)
[1m[36mDiscussion::Comment Load (0.2ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (6)
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
[1m[35mDiscussion::CommentRead Load (0.2ms)[0m SELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 306 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 306 LIMIT 1
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "discussion_comment_reads" ("comment_id", "created_at", "read_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["comment_id", 306], ["created_at", Sat, 01 Jun 2013 03:11:49 UTC +00:00], ["read_at", Sat, 01 Jun 2013 03:11:49 UTC +00:00], ["updated_at", Sat, 01 Jun 2013 03:11:49 UTC +00:00], ["user_id", 6]]
[1m[36mDiscussion::Comment Load (0.1ms)[0m [1mSELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."id" = 306 LIMIT 1[0m
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = 1 LIMIT 1
[1m[36m (209.3ms)[0m [1mcommit transaction[0m
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.4ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.4ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
Completed 200 OK in 279ms (Views: 27.3ms | ActiveRecord: 213.6ms)
Started GET "/assignments/1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Processing by AssignmentsController#show as HTML
Parameters: {"id"=>"1"}
[1m[35mAssignment Load (0.1ms)[0m SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", "1"]]
Rendered assignments/show.html.erb within layouts/application (2.0ms)
Completed 200 OK in 16ms (Views: 12.6ms | ActiveRecord: 0.1ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /application.css - 304 Not Modified (17ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.css?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /assignments.css - 304 Not Modified (0ms)
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /scaffold.css - 304 Not Modified (0ms)
Started GET "/assets/discussion/discussion.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /discussion/discussion.js - 304 Not Modified (1ms)
Started GET "/assets/discussion/application.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /discussion/application.js - 304 Not Modified (1ms)
Started GET "/assets/assignments.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /assignments.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Served asset /application.js - 304 Not Modified (3ms)
Started GET "/assignments/1/comments?contrinerId=comments-1370056318&_=1370056318753" for 127.0.0.1 at 2013-06-01 09:11:58 +0600
Processing by Discussion::CommentsController#index as JS
Parameters: {"contrinerId"=>"comments-1370056318", "_"=>"1370056318753", "assignment_id"=>"1"}
[1m[36mAssignment Load (0.1ms)[0m [1mSELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1[0m [["id", "1"]]
[1m[35mDiscussion::Comment Load (0.2ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment'
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND (user_id = 6 AND read_at IS NOT NULL)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 306 AND (user_id = 6 AND read_at IS NOT NULL)[0m
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_view.html.erb (22.5ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_form.html.erb (1.7ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/_list_with_form.html.erb (31.6ms)
Rendered /home/jitu/projects/discussion/app/views/discussion/comments/index.js.erb (32.5ms)
[1m[35mDiscussion::Comment Load (0.2ms)[0m SELECT "discussion_comments".* FROM "discussion_comments" WHERE "discussion_comments"."commentable_id" = 1 AND "discussion_comments"."commentable_type" = 'Assignment' ORDER BY discussion_comments.created_at DESC
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (6)[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 306 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 306 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 304 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 304 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 303 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 303 LIMIT 1[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.2ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 302 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 302 LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
[1m[36mDiscussion::CommentRead Load (0.3ms)[0m [1mSELECT "discussion_comment_reads".* FROM "discussion_comment_reads" WHERE "discussion_comment_reads"."comment_id" = 301 AND "discussion_comment_reads"."user_id" = 6 AND "discussion_comment_reads"."comment_id" = 301 LIMIT 1[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
Completed 200 OK in 63ms (Views: 32.8ms | ActiveRecord: 3.8ms)
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml