From 2ae0c9268f72f366086e30280fbd5ace7b23c406 Mon Sep 17 00:00:00 2001 From: Kyle Hotchkiss Date: Sun, 7 Jun 2015 16:45:28 -0700 Subject: [PATCH 1/3] Create, edit, delete assignments Users can now create, edit, and delete assignments for their class. Others can also view assignments for the class. --- app/controllers/assignment_controller.rb | 66 +- app/controllers/course_controller.rb | 5 + app/views/assignment/edit.html.haml | 33 + app/views/assignment/index.html.haml | 23 + app/views/assignment/new.html.haml | 31 + app/views/assignment/show.html.haml | 27 + app/views/course/show.html.haml | 1 + config/routes.rb | 8 +- db/development.sqlite3 | Bin 73728 -> 73728 bytes log/development.log | 8144 ++++++++++++++++++++++ 10 files changed, 8334 insertions(+), 4 deletions(-) create mode 100644 app/views/assignment/edit.html.haml create mode 100644 app/views/assignment/index.html.haml create mode 100644 app/views/assignment/new.html.haml create mode 100644 app/views/assignment/show.html.haml diff --git a/app/controllers/assignment_controller.rb b/app/controllers/assignment_controller.rb index 915ea4c..b793180 100644 --- a/app/controllers/assignment_controller.rb +++ b/app/controllers/assignment_controller.rb @@ -1,21 +1,81 @@ class AssignmentController < ApplicationController + def new + @course = Course.find(params[:course_id]) + end + def show + @course = Course.find(params[:course_id]) @assignment = Assignment.find(params[:id]) end def index - + @course = Course.find(params[:course_id]) + @assignments = @course.assignments end - def new + def create + @course = Course.find(params[:course_id]) + @assignment = @course.assignments.new(assignment_params) + unless @assignment.valid? + @assignment.destroy + flash[:alert] = "Missing required fields" + redirect_to new_course_assignment_path and return + else + @template = Project.find_by_name(params[:assignment][:template]) + if params[:assignment][:template] != "" and not @template + @assignment.destroy + flash[:alert] = "Invalid template project" + redirect_to new_course_assignment_path and return + else + @assignment.template_id = @template ? @template.id : "" + end + @assignment.save + flash[:notice] = "Assignment #{@assignment.title} successfully created" + redirect_to course_assignment_index_path(@course) + end + end + def edit + @course = Course.find(params[:course_id]) + @assignment = Assignment.find(params[:id]) + @template = @assignment.template_id ? Project.find(@assignment.template_id).title : "" end - def create + def update + @assignment = Assignment.find(params[:id]) + @assignment.update_attributes(assignment_params) + unless @assignment.valid? + flash[:notice] = "Missing required fields" + redirect_to edit_course_assignment_path(@assignment) and return + end + @template = Project.find_by_name(params[:assignment][:template]) + if params[:assignment][:template] != "" and not @template + @assignment.destroy + flash[:alert] = "Invalid template project" + redirect_to edit_course_assignment_path(id: @assignment.id) and return + else + @assignment.template_id = @template ? @template.id : "" + end + @assignment.save + flash[:notice] = "#{@assignment.title} was successfully updated." + redirect_to course_assignment_path(id: @assignment.id) + end + def destroy + @course = Course.find(params[:course_id]) + @assignment = Assignment.find(params[:id]) + @assignment.destroy + flash[:notice] = "Assignment '#{@assignment.title}' deleted." + redirect_to course_assignment_index_path(@course) end def submit end + + private + + def assignment_params + params.require(:assignment).permit(:title, :description, :start_time, :deadline) + end end diff --git a/app/controllers/course_controller.rb b/app/controllers/course_controller.rb index e103e66..1765103 100644 --- a/app/controllers/course_controller.rb +++ b/app/controllers/course_controller.rb @@ -37,6 +37,11 @@ def unenroll redirect_to course_path(@course) end + def assignments + @course = Course.find(params[:id]) + @assignments = @course.assignments + end + def new end diff --git a/app/views/assignment/edit.html.haml b/app/views/assignment/edit.html.haml new file mode 100644 index 0000000..b44d9a6 --- /dev/null +++ b/app/views/assignment/edit.html.haml @@ -0,0 +1,33 @@ +%h1 Edit Assignment + + +=form_tag course_assignment_path(id: @assignment.id), :method => :put do + .form-group + = label :assignment, :title, 'Title', :required => true + %br + =text_field :assignment, 'title', :value => @assignment.title + + .form-group + =label :assignment, :description, 'Description' + %br + =text_field :assignment, 'description', :value => @assignment.description + + .form-group + = label :assignment, :template, 'Project Starter File' + %br + = text_field :assignment, :template, :value => @template + + .form-group + = label :assignment, :start_time, 'Start time' + %br + = date_select :assignment, :start_time, :value => @assignment.start_time + + .form-group + = label :assignment, :deadline, 'Deadline' + %br + = date_select :assignment, :deadline, :value => @assignment.deadline + + .form-group + =submit_tag 'Update Course' + += button_to 'Delete', course_path(@assignment), method: :delete, data: {confirm: "Are you sure?"} diff --git a/app/views/assignment/index.html.haml b/app/views/assignment/index.html.haml new file mode 100644 index 0000000..a74b557 --- /dev/null +++ b/app/views/assignment/index.html.haml @@ -0,0 +1,23 @@ + +-# in app/views/course/assignments.html.haml + +%h2 Assignments for #{@course.title} + +%table{:class => "table table-hover"} + %thead + %tr + %th Assignment Title + %th Description + %th Due Date + %tbody + - @assignments.each do |assignment| + %tr + %td= link_to assignment.title, course_assignment_path(id: assignment.id) + %td= assignment.description + %td= assignment.deadline + +-if (@course.teachers.include?(current_user)) + = link_to 'New Assignment', new_course_assignment_path + +%br += link_to 'Back to Course Details', course_path(@course) diff --git a/app/views/assignment/new.html.haml b/app/views/assignment/new.html.haml new file mode 100644 index 0000000..64bd2fc --- /dev/null +++ b/app/views/assignment/new.html.haml @@ -0,0 +1,31 @@ +%h1 Create New Assignment + += form_tag course_assignment_index_path do + + .form-group + = label :assignment, :title, 'Title' + %br + = text_field :assignment, 'title', :required => true + + .form-group + = label :assignment, :description, 'Description' + %br + = text_field :assignment, :description + + .form-group + = label :assignment, :template, 'Project Starter File' + %br + = text_field :assignment, :template + + .form-group + = label :assignment, :start_time, 'Start time' + %br + = date_select :assignment, :start_time + + .form-group + = label :assignment, :deadline, 'Deadline' + %br + = date_select :assignment, :deadline + + .form-group + = submit_tag 'Create Assignment' diff --git a/app/views/assignment/show.html.haml b/app/views/assignment/show.html.haml new file mode 100644 index 0000000..d5955f1 --- /dev/null +++ b/app/views/assignment/show.html.haml @@ -0,0 +1,27 @@ + +-# in app/views/course/show.html.haml + +%h2 Details about #{@assignment.title} + +%ul#details + %li + Description: + = @assignment.description + %li + Deadline: + = @assignment.deadline + +-if !(@course.teachers.include?(current_user)) + -if @course.students.include?(current_user) + = form_tag submit_assignment_path do + .form-group + =label :submition, :project, 'Project Title' + %br + =text_field :submition, 'project' + + = submit_tag 'Submit from assignment' + +-else + = link_to 'Edit', edit_course_assignment_path(id: @assignment.id) + = button_to 'Delete', course_assignment_path(id: @assignment.id), :method => :delete, :confirm => 'Are you sure?' += link_to 'Back to Course', course_path(@course) diff --git a/app/views/course/show.html.haml b/app/views/course/show.html.haml index bb179b7..530bea1 100644 --- a/app/views/course/show.html.haml +++ b/app/views/course/show.html.haml @@ -26,4 +26,5 @@ -else = link_to 'Edit', edit_course_path(@course) = button_to 'Delete', course_path(@course), :method => :delete, :confirm => 'Are you sure?' += link_to 'Assignments', course_assignment_index_path(@course) = link_to 'Back to User list', user_index_path diff --git a/config/routes.rb b/config/routes.rb index 9612538..4b899ff 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -24,7 +24,13 @@ post '/project/:id', to: 'project#comment', as: 'project_comment' # '/course/' - resources :course + resources :course do + resources :assignment + end post '/course/:id/enroll' => 'course#enroll', :as => :course_enroll post '/course/:id/unenroll' => 'course#unenroll', :as => :course_unenroll + # get '/course/:id/assignments/:assignment_id' => 'assignment#show', as: 'show_assignment' + # get '/course/:id/assignments/new' => 'assignment#new', as: 'new_assignment' + # post '/course/:id/assignments/new', to: 'assignment#create', as: 'create_assignment' + post '/course/:id/assignments/:assignment_id' => 'assignment#submit', as: 'submit_assignment' end diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 60933db61af36509ad9cbd938481ccd33ae96de2..7cc87cf99aca34381e3568d22df5656a3c32889e 100644 GIT binary patch delta 748 zcmZ8fO-vI(6rP>g?hj@AwiqParn)JLAwu1D*+Q!U8=@Bv)C*U#v}@U9+a=va#<3|yR`+#J!O5hm?u{&h7e}!i`F0#qL5zmV+q+Mx_)!BpS zW9dg&lE32M9*OsD6e9dkD#dKx3f6?@i7_>8dY)Zt)UAfUU{}+s-SDlN)f^3V_7leZ zs{r#avET+f{6|)NgmywtXk(0$fg2r4Y&awQ(C{$x@S<-nI@Z5dUhpKE2-?wk&Z;jv zrXS4oXEfh>;8R1-H=F)~Z`ZA~S~Y#Ev!m&%WmX-#(UT1Q{w+e3*mS_lSsa_DQ?RiC zS;3<@Eo*2KxyfuHXJ}Jl`NCU<>P7-yrMeNS`zZy5OjP(QP{KlHS4xsj*|?S;*Cy3m zwwTk3hMv)l{KP~yIJuq(FWvY~WDd3wwBQ)Nz4mL1kU0hp5gbyB zZ*W;*A}FOOvt3@zR$SMy-SWz!V^^fk)59KuJt}<-<=aG{-(gTGm1e1G(R7-%rJmU| zt=L@|ts7^|WM}IC7}~ZQp|E~BLl1L`;53Xc|AH81FgkNRKyW}^KZBNLI3$Xtc#jjk zMI%?#jEtdA>4p57+o{3OLhu_}VZ3|{gDfVDNI^vLtYI5Lo0^;e$6}T?+-B527RJJ5 delta 390 zcmZoTz|wGlWrDPz8Uq7^5D;?$F%uAnOw=*fS7Xq9#>&ffjDerUn3;bPKL?*TM?Oy} zI|~~dYZLoMPBG58yxVyFS&Uiku-xH&ve{AK2Gis;X2HqFdDSMD@v2U~!YeXajZc-I zWhDbE3(%aK;@aAbP0W*RSu{5rvz%pO;uM<9#J(6rEoVQ$)u_PAE-ov}*d#o;k$J{u zLCzQ^CPuEw`P|~{c_qcgd5Hy+7jR3Nf*6U##hK}Oxv4;LB?S#7o;M7;!Dg$MBqrsg zqN#xCWC1gFafeM-=aHTKpP7Ag3C{#(W(mH4$?O7#n-v`-_%;W~ZD9n8SWaeF0Esa2 zZMM|g#>>bwnaf5>%E-XbRM)^n*T`JKz|zXt(8|LNHb(xh4E$d= z3kJOA=jLQ&7H2FiPAw|t+O&X0VKYm>AO48}?2L??IU4@hFJ@Vw0K!{Y82`uv00I"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (3.6ms) + Rendered shared/_navigation.html.erb (0.8ms) +Completed 200 OK in 30ms (Views: 19.3ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/all" for ::1 at 2015-06-07 14:20:30 -0700 +Processing by CourseController#all_courses as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + Course Load (0.3ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_students" ON "courses"."id" = "course_students"."course_id" WHERE "course_students"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.5ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 67ms (Views: 18.0ms | ActiveRecord: 1.1ms) + + +Started GET "/user" for ::1 at 2015-06-07 14:20:35 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (4.4ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.2ms) + + +Started GET "/user/2" for ::1 at 2015-06-07 14:20:36 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"2"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] + Rendered user/show.html.haml within layouts/application (1.0ms) + Rendered shared/_navigation.html.erb (0.2ms) +Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.1ms) + + +Started GET "/user/2/courses/all" for ::1 at 2015-06-07 14:20:37 -0700 +Processing by CourseController#all_courses as HTML + Parameters: {"id"=>"2"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 2]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_students" ON "courses"."id" = "course_students"."course_id" WHERE "course_students"."user_id" = ? [["user_id", 2]] + Rendered course/index.html.erb within layouts/application (0.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 16.0ms | ActiveRecord: 0.2ms) + + +Started GET "/user" for ::1 at 2015-06-07 14:20:41 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4" for ::1 at 2015-06-07 14:20:42 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (0.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.1ms) + + +Started GET "/user/4/courses/all" for ::1 at 2015-06-07 14:20:44 -0700 +Processing by CourseController#all_courses as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 4]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_students" ON "courses"."id" = "course_students"."course_id" WHERE "course_students"."user_id" = ? [["user_id", 4]] + Rendered course/index.html.erb within layouts/application (0.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.2ms) + + +Started GET "/users/sign_in" for ::1 at 2015-06-07 14:20:46 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (7.3ms) + Rendered devise/sessions/new.html.erb within layouts/application (37.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 61ms (Views: 57.4ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-07 14:20:53 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"eFS7CoQNaB1coFd3vGa8dpgIiPoV73diLRUbLM0wDM0Ah9CcYp2NQGdXDZyJuUhoVlHLKJAcF7FJDjPDCppQbg==", "user"=>{"email"=>"kyle@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "kyle@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-05-05 00:24:21.643458"], ["current_sign_in_at", "2015-06-07 21:20:53.356441"], ["sign_in_count", 3], ["id", 1]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 92ms (ActiveRecord: 1.3ms) + + +Started GET "/" for ::1 at 2015-06-07 14:20:53 -0700 +Processing by UserController#index as HTML + User Load (0.4ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (3.2ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:20:53 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:20:53 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-07 14:20:54 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (2.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/all" for ::1 at 2015-06-07 14:20:55 -0700 +Processing by CourseController#all_courses as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_students" ON "courses"."id" = "course_students"."course_id" WHERE "course_students"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.1ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 21ms (Views: 16.1ms | ActiveRecord: 0.4ms) + + +Started GET "/course/new" for ::1 at 2015-06-07 14:20:58 -0700 +Processing by CourseController#new as HTML + Rendered course/new.html.haml within layouts/application (6.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.4ms) +Completed 200 OK in 25ms (Views: 24.5ms | ActiveRecord: 0.1ms) + + +Started POST "/course" for ::1 at 2015-06-07 14:21:04 -0700 +Processing by CourseController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"ErVZyhD8cKsX2YMhQpV4Upk9xI8h154ZJFboW5bCS6kmk50IJZRVOwj2N9A/UBa8jPfI0QnC4QGesEusZ8p8nw==", "course"=>{"title"=>"Course 1", "additional_users"=>"", "description"=>"coolio", "privacy"=>"Public"}, "commit"=>"Create Course"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +Unpermitted parameter: additional_users +  (0.3ms) begin transaction + SQL (0.8ms) INSERT INTO "courses" ("title", "description", "privacy") VALUES (?, ?, ?) [["title", "Course 1"], ["description", "coolio"], ["privacy", "Public"]] + SQL (0.2ms) INSERT INTO "course_teachers" ("user_id", "course_id") VALUES (?, ?) [["user_id", 1], ["course_id", 1]] +  (0.8ms) commit transaction +Redirected to http://localhost:3000/course/1 +Completed 302 Found in 26ms (ActiveRecord: 3.0ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 14:21:04 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (11.5ms) + Rendered shared/_navigation.html.erb (0.8ms) +Completed 200 OK in 48ms (Views: 31.3ms | ActiveRecord: 1.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:21:04 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:21:04 -0700 + + +Started GET "/course/1/edit" for ::1 at 2015-06-07 14:21:08 -0700 +Processing by CourseController#edit as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/edit.html.haml within layouts/application (8.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.2ms) + + +Started PUT "/course/1" for ::1 at 2015-06-07 14:21:09 -0700 +Processing by CourseController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"E/9VW8hNaFtdLQVJpCcFaeQWAIgCdmIwjvH4Zd+g0wYn2ZGZ/SVNy0ICsbjZ4muH8dwM1ipjHSg0F1uSLqjkMA==", "course"=>{"title"=>"Course 1", "additional_users"=>"", "description"=>"coolio", "privacy"=>"Public"}, "commit"=>"Update Course", "id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: additional_users +  (0.1ms) begin transaction + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + SQL (0.3ms) DELETE FROM "course_teachers" WHERE "course_teachers"."course_id" = ? AND "course_teachers"."user_id" = 1 [["course_id", 1]] +  (1.9ms) commit transaction +  (0.3ms) begin transaction +  (0.1ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.0ms) begin transaction + SQL (0.3ms) INSERT INTO "course_teachers" ("course_id", "user_id") VALUES (?, ?) [["course_id", 1], ["user_id", 1]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/course/1 +Completed 302 Found in 17ms (ActiveRecord: 4.0ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 14:21:09 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (2.6ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:21:09 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:21:09 -0700 + + +Started GET "/course/1" for ::1 at 2015-06-07 14:24:16 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (6.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:24:16 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:24:16 -0700 + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:24:17 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/assignments.html.haml within layouts/application (8.9ms) +Completed 500 Internal Server Error in 22ms + +ActionView::Template::Error (undefined method `include?' for nil:NilClass): + 16: - @course.students.each do |student| + 17: = link_to "#{student.username}", user_path(student) + 18: + 19: -if !(@teachers.include?(current_user)) + 20: -if @students.include?(current_user) + 21: = form_tag course_unenroll_path do + 22: = submit_tag 'Un-enroll from Course' + app/views/course/assignments.html.haml:19:in `_app_views_course_assignments_html_haml__2908257983309430428_70145958141040' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (67.0ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:24:17 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/assignments.html.haml within layouts/application (11.1ms) +Completed 500 Internal Server Error in 23ms + +ActionView::Template::Error (undefined method `include?' for nil:NilClass): + 16: - @course.students.each do |student| + 17: = link_to "#{student.username}", user_path(student) + 18: + 19: -if !(@teachers.include?(current_user)) + 20: -if @students.include?(current_user) + 21: = form_tag course_unenroll_path do + 22: = submit_tag 'Un-enroll from Course' + app/views/course/assignments.html.haml:19:in `_app_views_course_assignments_html_haml__2908257983309430428_70145996309380' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (63.0ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:26:32 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + Rendered course/assignments.html.haml within layouts/application (4.2ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.4ms) +Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:26:32 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:26:32 -0700 + + +Started GET "/course/1" for ::1 at 2015-06-07 14:26:37 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (4.7ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:26:39 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + Rendered course/assignments.html.haml within layouts/application (3.9ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:29:10 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + Rendered course/assignments.html.haml within layouts/application (3.3ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (2.1ms) +Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:29:10 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:29:10 -0700 + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:32:33 -0700 + +SyntaxError (/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/config/routes.rb:31: syntax error, unexpected => +...d' => 'assignment#show', as: => :assignment +... ^): + config/routes.rb:31: syntax error, unexpected => + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (3.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (62.8ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:33:01 -0700 + +SyntaxError (/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/config/routes.rb:31: syntax error, unexpected => +...' => 'assignments#show', as: => :assignment +... ^): + config/routes.rb:31: syntax error, unexpected => + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (3.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (64.1ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:33:28 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (37.6ms) +Completed 500 Internal Server Error in 69ms + +ActionView::Template::Error (undefined method `lin_to' for #<#:0x007f9846266598>): + 17: %td= assignment.deadline + 18: + 19: -if (@course.teachers.include?(current_user)) + 20: = lin_to 'New Assignment', new_assignment_path + 21: + 22: = link_to 'Back to Course Details', course_path(@course) + app/views/course/assignments.html.haml:20:in `_app_views_course_assignments_html_haml__2908257983309430428_70145994322960' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (64.1ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:33:42 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (5.4ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:33:43 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:33:43 -0700 + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:33:53 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (5.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 33ms (Views: 26.1ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:33:53 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:33:53 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:33:54 -0700 + +ActionController::RoutingError (uninitialized constant AssignmentsController): + activesupport (4.2.0) lib/active_support/inflector/methods.rb:261:in `const_get' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:261:in `block in constantize' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (2.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (110.8ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:33:54 -0700 + +ActionController::RoutingError (uninitialized constant AssignmentsController): + activesupport (4.2.0) lib/active_support/inflector/methods.rb:261:in `const_get' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:261:in `block in constantize' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (104.9ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:34:23 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (18.5ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 52ms (Views: 31.1ms | ActiveRecord: 2.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:34:23 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:34:23 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:34:26 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] +Completed 404 Not Found in 2ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=1): + app/controllers/assignment_controller.rb:3:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (62.4ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:34:26 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=1): + app/controllers/assignment_controller.rb:3:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (62.5ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:34:39 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=1): + app/controllers/assignment_controller.rb:3:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (61.3ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:34:39 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] +Completed 404 Not Found in 2ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=1): + app/controllers/assignment_controller.rb:3:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (68.6ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:35:54 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} +Completed 500 Internal Server Error in 4ms + +NoMethodError (undefined method `find' for Class:Class): + app/controllers/assignment_controller.rb:3:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (64.0ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:36:08 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 0]] +Completed 404 Not Found in 19ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=new): + app/controllers/assignment_controller.rb:4:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.3ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:37:25 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 0]] +Completed 404 Not Found in 19ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=new): + app/controllers/assignment_controller.rb:4:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.8ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:37:45 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 24ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (4.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (69.6ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:38:02 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 10ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (64.2ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:38:02 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 10ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (63.1ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:38:30 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (1.3ms) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (11.9ms) +Completed 200 OK in 37ms (Views: 34.7ms | ActiveRecord: 0.9ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:38:30 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:38:30 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:39:26 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (0.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.2ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:39:34 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 25ms (Views: 23.9ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:39:34 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:39:34 -0700 + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:39:35 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (15.8ms) + Rendered shared/_navigation.html.erb (0.8ms) +Completed 200 OK in 53ms (Views: 38.5ms | ActiveRecord: 1.1ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:39:45 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (0.7ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.4ms) +Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.2ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:40:37 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.5ms) +Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.2ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:40:44 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (1.0ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:40:44 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:40:44 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:40:55 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.5ms) +Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:40:55 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:40:55 -0700 + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:40:57 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (19.8ms) +Completed 500 Internal Server Error in 33ms + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"assignment", :id=>"1"} missing required keys: [:assignment_id]): + 17: %td= assignment.deadline + 18: + 19: -if (@course.teachers.include?(current_user)) + 20: = link_to 'New Assignment', assignment_path + 21: %br + 22: = link_to 'Back to Course Details', course_path(@course) + app/views/course/assignments.html.haml:20:in `_app_views_course_assignments_html_haml__2908257983309430428_70145996356440' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (71.7ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:40:57 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (9.0ms) +Completed 500 Internal Server Error in 21ms + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"assignment", :id=>"1"} missing required keys: [:assignment_id]): + 17: %td= assignment.deadline + 18: + 19: -if (@course.teachers.include?(current_user)) + 20: = link_to 'New Assignment', assignment_path + 21: %br + 22: = link_to 'Back to Course Details', course_path(@course) + app/views/course/assignments.html.haml:20:in `_app_views_course_assignments_html_haml__2908257983309430428_70145993677400' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (9.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (77.1ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:41:21 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (5.1ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:41:21 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:41:21 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:41:22 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.2ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:41:51 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (7.1ms) +Completed 200 OK in 39ms (Views: 22.7ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:41:51 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:41:51 -0700 + + +Started GET "/course/1" for ::1 at 2015-06-07 14:41:52 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (4.1ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 44ms (Views: 27.3ms | ActiveRecord: 1.0ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 14:41:53 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (2.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:41:53 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:41:53 -0700 + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:41:54 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (9.9ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 31ms (Views: 25.2ms | ActiveRecord: 0.8ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:41:55 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.2ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:42:40 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (25.8ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 61ms (Views: 39.8ms | ActiveRecord: 1.7ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:42:40 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:42:40 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:42:41 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.5ms) +Completed 200 OK in 18ms (Views: 17.8ms | ActiveRecord: 0.1ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:43:00 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (7.2ms) +Completed 200 OK in 29ms (Views: 22.1ms | ActiveRecord: 0.7ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:43:00 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:43:00 -0700 + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:43:01 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (12.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 64ms (Views: 34.5ms | ActiveRecord: 2.6ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:43:02 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (2.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:43:02 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:43:02 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:43:03 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Rendered assignment/show.html.haml within layouts/application (0.1ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.1ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:43:14 -0700 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (27.6ms) + Rendered shared/_navigation.html.erb (0.9ms) +Completed 200 OK in 152ms (Views: 93.1ms | ActiveRecord: 1.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:43:14 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:43:14 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:43:16 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Rendered assignment/show.html.haml within layouts/application (0.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (2.1ms) +Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.1ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:43:31 -0700 + +AbstractController::ActionNotFound (The action 'show' could not be found for AssignmentController): + actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/unknown_action.html.erb within rescues/layout (0.6ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:44:35 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (28.4ms) +Completed 500 Internal Server Error in 39ms + +ActionView::Template::Error (undefined local variable or method `new_ass_path' for #<#:0x007faa5f9b8640>): + 17: %td= assignment.deadline + 18: + 19: -if (@course.teachers.include?(current_user)) + 20: = link_to 'New Assignment', new_ass_path + 21: + 22: %br + 23: = link_to 'Back to Course Details', course_path(@course) + app/views/course/assignments.html.haml:20:in `_app_views_course_assignments_html_haml__1420373756338222117_70184862564500' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (74.8ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:44:49 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (4.7ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:44:49 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:44:49 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:44:50 -0700 + +AbstractController::ActionNotFound (The action 'show' could not be found for AssignmentController): + actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/unknown_action.html.erb within rescues/layout (0.4ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:44:50 -0700 + +AbstractController::ActionNotFound (The action 'show' could not be found for AssignmentController): + actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/unknown_action.html.erb within rescues/layout (0.4ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:45:40 -0700 + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + +AbstractController::ActionNotFound (The action 'show' could not be found for AssignmentController): + actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/unknown_action.html.erb within rescues/layout (1.2ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:45:55 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (35.8ms) + Rendered shared/_navigation.html.erb (1.0ms) +Completed 200 OK in 151ms (Views: 86.2ms | ActiveRecord: 2.2ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:45:55 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:45:55 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:45:57 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 13ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (67.8ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:45:58 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 8ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (71.1ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:47:33 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (15.7ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 52ms (Views: 33.2ms | ActiveRecord: 2.0ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:47:33 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:47:33 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:47:34 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 13ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (65.6ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:47:34 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 7ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (63.4ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:48:47 -0700 + +NoMethodError (undefined method `resourses' for #): + config/routes.rb:28:in `block in ' + config/routes.rb:1:in `' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (3.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (70.5ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:48:57 -0700 + +ArgumentError (Invalid route name, already in use: 'new_assignment' +You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the same naming. For the latter, you can restrict the routes created with `resources` as explained here: +http://guides.rubyonrails.org/routing.html#restricting-the-routes-created): + config/routes.rb:34:in `block in ' + config/routes.rb:1:in `' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (3.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (67.0ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:49:32 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (14.5ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 49ms (Views: 28.5ms | ActiveRecord: 1.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:49:32 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:49:32 -0700 + + +Started GET "/assignment/new" for ::1 at 2015-06-07 14:49:35 -0700 +Processing by AssignmentController#new as HTML + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 2ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:16:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (64.9ms) + + +Started GET "/assignment/new" for ::1 at 2015-06-07 14:49:35 -0700 +Processing by AssignmentController#new as HTML + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:16:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (72.1ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:49:43 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (2.9ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:49:43 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:49:43 -0700 + + +Started GET "/assignment/new" for ::1 at 2015-06-07 14:49:44 -0700 +Processing by AssignmentController#new as HTML + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:16:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.0ms) + + +Started GET "/assignment/new" for ::1 at 2015-06-07 14:49:44 -0700 +Processing by AssignmentController#new as HTML + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 2ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:16:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (64.6ms) + + +Started GET "/assignment/new" for ::1 at 2015-06-07 14:50:05 -0700 + +ActionController::RoutingError (No route matches [GET] "/assignment/new"): + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:22:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (4.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (3.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (106.3ms) + + +Started GET "/assignment/new" for ::1 at 2015-06-07 14:50:10 -0700 + +ActionController::RoutingError (No route matches [GET] "/assignment/new"): + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:22:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (3.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (1.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (88.0ms) + + +Started GET "/assignment/new" for ::1 at 2015-06-07 14:50:11 -0700 + +ActionController::RoutingError (No route matches [GET] "/assignment/new"): + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:22:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (87.6ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:50:15 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (15.4ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 51ms (Views: 29.6ms | ActiveRecord: 1.8ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:50:16 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:50:16 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:50:18 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 12ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (61.7ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:50:18 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 9ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (68.7ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:50:34 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.4ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (20.8ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 57ms (Views: 34.9ms | ActiveRecord: 2.8ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:50:34 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:50:34 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:50:36 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 12ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (61.8ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:50:36 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 10ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (61.7ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:50:39 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 7ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (70.5ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:50:42 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (5.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 25ms (Views: 22.9ms | ActiveRecord: 0.7ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:50:42 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:50:42 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:50:43 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 11ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (62.2ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:50:43 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 8ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (65.7ms) + + +Started GET "/" for ::1 at 2015-06-07 14:51:56 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (3.7ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.6ms) +Completed 200 OK in 24ms (Views: 23.1ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1" for ::1 at 2015-06-07 14:51:58 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (4.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1/conversations" for ::1 at 2015-06-07 14:52:00 -0700 +Processing by MessageController#conversations as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Conversation Load (0.2ms) SELECT "conversations".* FROM "conversations" INNER JOIN "user_conversations" ON "conversations"."id" = "user_conversations"."conversation_id" WHERE "user_conversations"."user_id" = ? [["user_id", 1]] + Rendered message/conversations.html.erb within layouts/application (1.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 29ms (Views: 18.5ms | ActiveRecord: 0.5ms) + + +Started GET "/user/1/conversations/new" for ::1 at 2015-06-07 14:52:01 -0700 +Processing by MessageController#new_message as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered message/new_message.html.haml within layouts/application (5.0ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.1ms) + + +Started POST "/user/1/conversations/new" for ::1 at 2015-06-07 14:52:05 -0700 +Processing by MessageController#create_new_message as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"h8zZWbzftdAEvaS4HnoyGK2ijY+Flg/K0qNDOVls1MGz6h2bibeQQBuSEEljv1z2uGiB0a2DcNJoReDOqGTj9w==", "message"=>{"additional_users"=>"Natasha", "text"=>"yo"}, "commit"=>"Create", "id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "Natasha"]] + Conversation Load (0.1ms) SELECT "conversations".* FROM "conversations" INNER JOIN "user_conversations" ON "conversations"."id" = "user_conversations"."conversation_id" WHERE "user_conversations"."user_id" = ? [["user_id", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "conversations" DEFAULT VALUES + SQL (0.2ms) INSERT INTO "user_conversations" ("user_id", "conversation_id") VALUES (?, ?) [["user_id", 1], ["conversation_id", 1]] +  (1.4ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "user_conversations" ("conversation_id", "user_id") VALUES (?, ?) [["conversation_id", 1], ["user_id", 2]] +  (1.8ms) commit transaction +  (0.0ms) begin transaction + SQL (0.3ms) INSERT INTO "messages" ("user_id", "message_time", "content", "conversation_id") VALUES (?, ?, ?, ?) [["user_id", 1], ["message_time", "2015-06-07 21:52:05.538396"], ["content", "yo"], ["conversation_id", 1]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/user/1/conversations +Completed 302 Found in 43ms (ActiveRecord: 6.4ms) + + +Started GET "/user/1/conversations" for ::1 at 2015-06-07 14:52:05 -0700 +Processing by MessageController#conversations as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Conversation Load (0.1ms) SELECT "conversations".* FROM "conversations" INNER JOIN "user_conversations" ON "conversations"."id" = "user_conversations"."conversation_id" WHERE "user_conversations"."user_id" = ? [["user_id", 1]] + HABTM_Users Load (0.1ms) SELECT "user_conversations".* FROM "user_conversations" WHERE "user_conversations"."conversation_id" IN (1) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2) + Rendered message/conversations.html.erb within layouts/application (13.2ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 30ms (Views: 27.0ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:52:05 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:52:05 -0700 + + +Started GET "/user/1/conversations/1/messages" for ::1 at 2015-06-07 14:52:08 -0700 +Processing by MessageController#messages as HTML + Parameters: {"id"=>"1", "conversation_id"=>"1"} + Conversation Load (0.1ms) SELECT "conversations".* FROM "conversations" WHERE "conversations"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_conversations" ON "users"."id" = "user_conversations"."user_id" WHERE "user_conversations"."conversation_id" = ? [["conversation_id", 1]] + Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."conversation_id" = ? [["conversation_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered message/messages.html.haml within layouts/application (8.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.7ms) + + +Started GET "/user/1/conversations" for ::1 at 2015-06-07 14:53:01 -0700 +Processing by MessageController#conversations as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Conversation Load (0.2ms) SELECT "conversations".* FROM "conversations" INNER JOIN "user_conversations" ON "conversations"."id" = "user_conversations"."conversation_id" WHERE "user_conversations"."user_id" = ? [["user_id", 1]] + HABTM_Users Load (0.1ms) SELECT "user_conversations".* FROM "user_conversations" WHERE "user_conversations"."conversation_id" IN (1) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2) + Rendered message/conversations.html.erb within layouts/application (13.5ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 69ms (Views: 32.8ms | ActiveRecord: 1.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:53:01 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:53:01 -0700 + + +Started GET "/" for ::1 at 2015-06-07 14:53:01 -0700 +Processing by UserController#index as HTML + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.0ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 20ms (Views: 19.5ms | ActiveRecord: 0.4ms) + + +Started GET "/user/1" for ::1 at 2015-06-07 14:53:03 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (2.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1/courses/all" for ::1 at 2015-06-07 14:53:08 -0700 +Processing by CourseController#all_courses as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (0.3ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_students" ON "courses"."id" = "course_students"."course_id" WHERE "course_students"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.8ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 45ms (Views: 20.1ms | ActiveRecord: 1.0ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 14:53:09 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (7.7ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 34ms (Views: 22.0ms | ActiveRecord: 0.7ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:53:11 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (9.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 32ms (Views: 26.3ms | ActiveRecord: 0.7ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:53:12 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 14ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (63.7ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:53:13 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 9ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (63.9ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:53:56 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (19.7ms) +Completed 500 Internal Server Error in 49ms + +ActionView::Template::Error (No route matches {:action=>"submit", :controller=>"assignment", :id=>"1"} missing required keys: [:assignment_id]): + 17: %td= assignment.deadline + 18: + 19: -if (@course.teachers.include?(current_user)) + 20: = link_to 'New Assignment', submit_assignment_path + 21: + 22: %br + 23: = link_to 'Back to Course Details', course_path(@course) + app/views/course/assignments.html.haml:20:in `_app_views_course_assignments_html_haml__120302479188319386_70315675640000' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (65.2ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:54:05 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (8.9ms) +Completed 500 Internal Server Error in 17ms + +ActionView::Template::Error (No route matches {:action=>"submit", :controller=>"assignment", :id=>"1"} missing required keys: [:assignment_id]): + 17: %td= assignment.deadline + 18: + 19: -if (@course.teachers.include?(current_user)) + 20: = link_to 'New Assignment', submit_assignment_path + 21: + 22: %br + 23: = link_to 'Back to Course Details', course_path(@course) + app/views/course/assignments.html.haml:20:in `_app_views_course_assignments_html_haml__120302479188319386_70315675640000' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (68.2ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:54:16 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (5.5ms) + Rendered shared/_navigation.html.erb (0.7ms) +Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:54:16 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:54:16 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:54:17 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 12ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (68.9ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:54:18 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 11ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (74.7ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:54:51 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (24.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 62ms (Views: 40.2ms | ActiveRecord: 2.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:54:51 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:54:51 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:54:52 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 12ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (62.3ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:54:53 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 9ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (63.8ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:58:55 -0700 + ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 60ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (75.3ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 14:58:58 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (39.0ms) + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 138ms (Views: 118.6ms | ActiveRecord: 1.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 14:58:58 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 14:58:58 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:58:59 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 11ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (67.4ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 14:58:59 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 9ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (75.8ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 15:00:58 -0700 +Processing by CourseController#assignments as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered course/assignments.html.haml within layouts/application (4.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:00:58 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:00:58 -0700 + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 15:01:11 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 12ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (5.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (77.2ms) + + +Started GET "/course/1/assignments/new" for ::1 at 2015-06-07 15:01:11 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"id"=>"1", "assignment_id"=>"new"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 13ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (7.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (77.2ms) + + +Started GET "/" for ::1 at 2015-06-07 15:06:25 -0700 + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UserController#index as HTML + User Load (0.4ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (19.1ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (11.4ms) +Completed 200 OK in 135ms (Views: 115.4ms | ActiveRecord: 0.9ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:06:25 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:06:25 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-07 15:06:27 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (4.7ms) + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1/courses/all" for ::1 at 2015-06-07 15:06:28 -0700 +Processing by CourseController#all_courses as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (1.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Course Load (0.5ms) SELECT "courses".* FROM "courses" INNER JOIN "course_students" ON "courses"."id" = "course_students"."course_id" WHERE "course_students"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.9ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 71ms (Views: 18.7ms | ActiveRecord: 2.5ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 15:06:29 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (17.7ms) +Completed 500 Internal Server Error in 37ms + +ActionView::Template::Error (No route matches {:action=>"index", :controller=>"assignments", :id=>"1"} missing required keys: [:course_id]): + 26: -else + 27: = link_to 'Edit', edit_course_path(@course) + 28: = button_to 'Delete', course_path(@course), :method => :delete, :confirm => 'Are you sure?' + 29: = link_to 'Assignments', course_assignments_path + 30: = link_to 'Back to User list', user_index_path + app/views/course/show.html.haml:29:in `_app_views_course_show_html_haml___3899402452786517193_70103993786960' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (82.6ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 15:06:30 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (13.4ms) +Completed 500 Internal Server Error in 27ms + +ActionView::Template::Error (No route matches {:action=>"index", :controller=>"assignments", :id=>"1"} missing required keys: [:course_id]): + 26: -else + 27: = link_to 'Edit', edit_course_path(@course) + 28: = button_to 'Delete', course_path(@course), :method => :delete, :confirm => 'Are you sure?' + 29: = link_to 'Assignments', course_assignments_path + 30: = link_to 'Back to User list', user_index_path + app/views/course/show.html.haml:29:in `_app_views_course_show_html_haml___3899402452786517193_70103989503460' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (75.8ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 15:07:53 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (11.1ms) +Completed 500 Internal Server Error in 21ms + +ActionView::Template::Error (No route matches {:action=>"index", :controller=>"assignments", :id=>"1"} missing required keys: [:course_id]): + 26: -else + 27: = link_to 'Edit', edit_course_path(@course) + 28: = button_to 'Delete', course_path(@course), :method => :delete, :confirm => 'Are you sure?' + 29: = link_to 'Assignments', course_assignments_path + 30: = link_to 'Back to User list', user_index_path + app/views/course/show.html.haml:29:in `_app_views_course_show_html_haml___3899402452786517193_70103989503460' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (7.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (80.2ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 15:07:56 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (7.0ms) +Completed 500 Internal Server Error in 16ms + +ActionView::Template::Error (No route matches {:action=>"index", :controller=>"assignments", :id=>"1"} missing required keys: [:course_id]): + 26: -else + 27: = link_to 'Edit', edit_course_path(@course) + 28: = button_to 'Delete', course_path(@course), :method => :delete, :confirm => 'Are you sure?' + 29: = link_to 'Assignments', course_assignments_path + 30: = link_to 'Back to User list', user_index_path + app/views/course/show.html.haml:29:in `_app_views_course_show_html_haml___3899402452786517193_70103993786960' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (63.6ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 15:07:57 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (8.4ms) +Completed 500 Internal Server Error in 18ms + +ActionView::Template::Error (No route matches {:action=>"index", :controller=>"assignments", :id=>"1"} missing required keys: [:course_id]): + 26: -else + 27: = link_to 'Edit', edit_course_path(@course) + 28: = button_to 'Delete', course_path(@course), :method => :delete, :confirm => 'Are you sure?' + 29: = link_to 'Assignments', course_assignments_path + 30: = link_to 'Back to User list', user_index_path + app/views/course/show.html.haml:29:in `_app_views_course_show_html_haml___3899402452786517193_70103989503460' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (65.8ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 15:08:16 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (7.0ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 26ms (Views: 23.7ms | ActiveRecord: 0.8ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:08:16 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:08:16 -0700 + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 15:08:18 -0700 + +ActionController::RoutingError (uninitialized constant AssignmentsController): + activesupport (4.2.0) lib/active_support/inflector/methods.rb:261:in `const_get' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:261:in `block in constantize' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (3.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (4.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (119.2ms) + + +Started GET "/course/1/assignments" for ::1 at 2015-06-07 15:08:18 -0700 + +ActionController::RoutingError (uninitialized constant AssignmentsController): + activesupport (4.2.0) lib/active_support/inflector/methods.rb:261:in `const_get' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:261:in `block in constantize' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' + activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (3.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (104.6ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 15:08:35 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (26.3ms) +Completed 500 Internal Server Error in 60ms + +ActionView::Template::Error (undefined method `course_assignments_path' for #<#:0x007f84b70f3cd0>): + 26: -else + 27: = link_to 'Edit', edit_course_path(@course) + 28: = button_to 'Delete', course_path(@course), :method => :delete, :confirm => 'Are you sure?' + 29: = link_to 'Assignments', course_assignments_path(@course) + 30: = link_to 'Back to User list', user_index_path + app/views/course/show.html.haml:29:in `_app_views_course_show_html_haml___3899402452786517193_70103993627800' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (68.6ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 15:09:26 -0700 + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.5ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (20.2ms) + Rendered shared/_navigation.html.erb (1.0ms) +Completed 200 OK in 233ms (Views: 120.6ms | ActiveRecord: 2.8ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:09:26 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:09:26 -0700 + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 15:09:28 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 2ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:12:in `index' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (76.8ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 15:09:28 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 2ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:12:in `index' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (67.9ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 15:09:46 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.4ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (38.3ms) +Completed 500 Internal Server Error in 71ms + +ActionView::Template::Error (undefined local variable or method `new_assignment_path' for #<#:0x007f92b27096c0>): + 17: %td= assignment.deadline + 18: + 19: -if (@course.teachers.include?(current_user)) + 20: = link_to 'New Assignment', new_assignment_path + 21: + 22: %br + 23: = link_to 'Back to Course Details', course_path(@course) + app/views/assignment/index.html.haml:20:in `_app_views_assignment_index_html_haml__3690836840790488820_70134032358920' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (64.2ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 15:10:17 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (4.7ms) + Rendered shared/_navigation.html.erb (0.8ms) +Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:10:17 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:10:17 -0700 + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:10:19 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:17:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.3ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:10:19 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:17:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (66.0ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:11:41 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:17:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (64.8ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:11:42 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:17:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (61.2ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:11:42 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 2ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:17:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.9ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:11:42 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 1ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:17:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (73.3ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:12:05 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 16ms + +ActiveRecord::RecordNotFound (Couldn't find Course with 'id'=): + app/controllers/assignment_controller.rb:17:in `new' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (77.2ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:12:33 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (0.7ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (7.2ms) +Completed 200 OK in 41ms (Views: 23.5ms | ActiveRecord: 1.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:12:33 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:12:33 -0700 + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:16:29 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (32.5ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (2.0ms) +Completed 200 OK in 57ms (Views: 55.8ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:16:29 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:16:29 -0700 + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:19:09 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (6.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.7ms) +Completed 200 OK in 32ms (Views: 29.9ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:19:09 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:19:09 -0700 + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 15:19:13 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"K6UabUmfAGVbdYQ1RIbav6MjSkANMqLKIuw8NhJmm0sfg96vfPcl9URaMMQ5Q7RRtulGHiUn3dKYCp/B426sfQ==", "assignment"=>{"title"=>"", "description"=>"", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} +Completed 500 Internal Server Error in 8ms + +ActionView::MissingTemplate (Missing template assignment/create, application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (71.4ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:19:52 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (17.8ms) +Completed 500 Internal Server Error in 28ms + +ActionView::Template::Error (undefined local variable or method `required' for #<#:0x007f92b25db7d0>): + 5: .form-group + 6: = label :assignment, :title, 'Title' + 7: %br + 8: = text_field :assignment, 'title', required => true + 9: + 10: .form-group + 11: = label :assignment, :description, 'Description' + app/views/assignment/new.html.haml:8:in `block in _app_views_assignment_new_html_haml___2715211992576236788_70134017197440' + app/views/assignment/new.html.haml:3:in `_app_views_assignment_new_html_haml___2715211992576236788_70134017197440' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (66.1ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:20:25 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (5.9ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:20:25 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:20:25 -0700 + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:20:32 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (3.6ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.9ms) +Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:20:32 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:20:32 -0700 + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 15:58:19 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (4.2ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (8.3ms) +Completed 200 OK in 52ms (Views: 36.0ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 15:58:19 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 15:58:19 -0700 + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 15:58:25 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"GZkK5NDtbXlO4VKuNDmah1U3VBDoUyE9E+dWT6mVqkEtv84m5YVI6VHO5l9J/PRpQP1YTsBGXiWpAfW4WJ2ddw==", "assignment"=>{"title"=>"Cool", "description"=>"", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} +Completed 500 Internal Server Error in 2ms + +NoMethodError (undefined method `assignments' for nil:NilClass): + app/controllers/assignment_controller.rb:17:in `create' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (67.9ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 15:59:02 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"GZkK5NDtbXlO4VKuNDmah1U3VBDoUyE9E+dWT6mVqkEtv84m5YVI6VHO5l9J/PRpQP1YTsBGXiWpAfW4WJ2ddw==", "assignment"=>{"title"=>"Cool", "description"=>"", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template +Completed 500 Internal Server Error in 46ms + +ActionView::MissingTemplate (Missing template assignment/create, application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (13.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (79.7ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:03:30 -0700 + +SyntaxError (/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/controllers/assignment_controller.rb:24: syntax error, unexpected ']', expecting ')' + template = Project.find_by_name(params[:assignment][template]]) + ^ +/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/controllers/assignment_controller.rb:25: syntax error, unexpected ']', expecting keyword_then or ';' or '\n' + if params[:assignment][template]] and not template + ^ +/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/controllers/assignment_controller.rb:44: syntax error, unexpected keyword_end, expecting end-of-input): + app/controllers/assignment_controller.rb:24: syntax error, unexpected ']', expecting ')' + app/controllers/assignment_controller.rb:25: syntax error, unexpected ']', expecting keyword_then or ';' or '\n' + app/controllers/assignment_controller.rb:44: syntax error, unexpected keyword_end, expecting end-of-input + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (66.2ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:03:54 -0700 + +SyntaxError (/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/controllers/assignment_controller.rb:25: syntax error, unexpected ']', expecting keyword_then or ';' or '\n' + if params[:assignment][template]] and not template + ^ +/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/controllers/assignment_controller.rb:44: syntax error, unexpected keyword_end, expecting end-of-input): + app/controllers/assignment_controller.rb:25: syntax error, unexpected ']', expecting keyword_then or ';' or '\n' + app/controllers/assignment_controller.rb:44: syntax error, unexpected keyword_end, expecting end-of-input + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.4ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:04:09 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"GZkK5NDtbXlO4VKuNDmah1U3VBDoUyE9E+dWT6mVqkEtv84m5YVI6VHO5l9J/PRpQP1YTsBGXiWpAfW4WJ2ddw==", "assignment"=>{"title"=>"Cool", "description"=>"", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" IS NULL LIMIT 1 +Redirected to http://localhost:3000/course/1/assignment +Completed 302 Found in 56ms (ActiveRecord: 1.1ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:04:09 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (23.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 44ms (Views: 41.8ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:04:09 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:04:09 -0700 + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:04:27 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (3.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:04:27 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:04:27 -0700 + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 16:04:29 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (6.5ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.8ms) +Completed 200 OK in 27ms (Views: 26.0ms | ActiveRecord: 0.2ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:04:40 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"GPCufsQKEpJ5Z7kgIcLrAn57oW1qM05bKii79c9Ffjos1mq88WI3AmZIDdFcB4Xsa7GtM0ImMUOQzhgCPk1JDA==", "assignment"=>{"title"=>"Hello", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" IS NULL LIMIT 1 +Redirected to http://localhost:3000/course/1/assignment +Completed 302 Found in 7ms (ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:04:40 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (3.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:04:40 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:04:40 -0700 + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 16:05:11 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (4.0ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.3ms) + Assignment Load (2.3ms) SELECT "assignments".* FROM "assignments" + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 16:06:34 -0700 + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (19.1ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (10.9ms) +Completed 200 OK in 159ms (Views: 125.3ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:06:34 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:06:34 -0700 + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:06:39 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"G8YmySwyHCZBse9hpiqzJ3WCjheu093QqNkI4m57Il8v4OILGVo5tl6eW5Db793JYEiCSYbGosgSP6sVn3MVaQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" IS NULL LIMIT 1 +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "assignments" ("title", "description", "start_time", "deadline", "course_id") VALUES (?, ?, ?, ?, ?) [["title", "Cool"], ["description", "balrgh"], ["start_time", "2015-06-07 00:00:00.000000"], ["deadline", "2015-06-07 00:00:00.000000"], ["course_id", 1]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment +Completed 302 Found in 42ms (ActiveRecord: 1.8ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:06:39 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + Rendered assignment/index.html.haml within layouts/application (10.0ms) +Completed 500 Internal Server Error in 19ms + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"assignment", :course_id=>#, :format=>nil, :id=>nil} missing required keys: [:id]): + 12: %tbody + 13: - @assignments.each do |assignment| + 14: %tr + 15: %td= link_to assignment.title, course_assignment_path(assignment) + 16: %td= assignment.description + 17: %td= assignment.deadline + 18: + app/views/assignment/index.html.haml:15:in `block in _app_views_assignment_index_html_haml___2327770868724558493_70204118223060' + app/views/assignment/index.html.haml:13:in `_app_views_assignment_index_html_haml___2327770868724558493_70204118223060' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (75.9ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:07:26 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + Rendered assignment/index.html.haml within layouts/application (6.1ms) +Completed 500 Internal Server Error in 18ms + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"assignment", :course_id=>1, :format=>nil, :id=>nil} missing required keys: [:id]): + 12: %tbody + 13: - @assignments.each do |assignment| + 14: %tr + 15: %td= link_to assignment.title, course_assignment_path(assignment.id) + 16: %td= assignment.description + 17: %td= assignment.deadline + 18: + app/views/assignment/index.html.haml:15:in `block in _app_views_assignment_index_html_haml___2327770868724558493_70204115283500' + app/views/assignment/index.html.haml:13:in `_app_views_assignment_index_html_haml___2327770868724558493_70204115283500' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (78.6ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:08:46 -0700 + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.7ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.4ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + Rendered assignment/index.html.haml within layouts/application (29.1ms) +Completed 500 Internal Server Error in 111ms + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"assignment", :course_id=>#, :format=>nil, :id=>nil} missing required keys: [:id]): + 12: %tbody + 13: - @assignments.each do |assignment| + 14: %tr + 15: %td= link_to assignment.title, course_assignment_path(assignment) + 16: %td= assignment.description + 17: %td= assignment.deadline + 18: + app/views/assignment/index.html.haml:15:in `block in _app_views_assignment_index_html_haml__1970119267430956393_70113163103880' + app/views/assignment/index.html.haml:13:in `_app_views_assignment_index_html_haml__1970119267430956393_70113163103880' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (9.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (4.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (91.7ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:09:19 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (44.6ms) + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 125ms (Views: 121.0ms | ActiveRecord: 2.9ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:09:19 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:09:19 -0700 + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:09:23 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 10ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html, :xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (64.0ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:09:23 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Completed 500 Internal Server Error in 11ms + +ActionView::MissingTemplate (Missing template assignment/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates" + * "/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/views" + * "/Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/devise-3.4.1/app/views" +): + actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' + actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' + actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' + actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/missing_template.html.erb within rescues/layout (72.9ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:15:42 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 17ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=): + app/controllers/assignment_controller.rb:8:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (61.3ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:15:42 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 4ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=): + app/controllers/assignment_controller.rb:8:in `show' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (64.4ms) + + +Started PUT "/course/1/assignment/console/repl_sessions/77983a7354c846b89bc6d3475a4a2e03" for ::1 at 2015-06-07 16:16:18 -0700 + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:16:47 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (22.1ms) +Completed 500 Internal Server Error in 56ms + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"assignment", :course_id=>#, :format=>nil, :id=>nil} missing required keys: [:id]): + 20: = submit_tag 'Submit from assignment' + 21: + 22: -else + 23: = link_to 'Edit', edit_course_assignment_path(@course) + 24: = button_to 'Delete', course_assignment_path(@course), :method => :delete, :confirm => 'Are you sure?' + 25: = link_to 'Back to Course', course_path(@course) + app/views/assignment/show.html.haml:23:in `_app_views_assignment_show_html_haml___3675843282366847425_70113200134180' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (65.9ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:17:13 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (9.2ms) +Completed 500 Internal Server Error in 20ms + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"assignment", :course_id=>#, :format=>nil, :id=>nil} missing required keys: [:id]): + 20: = submit_tag 'Submit from assignment' + 21: + 22: -else + 23: = link_to 'Edit', edit_course_assignment_path(@assignment) + 24: = button_to 'Delete', course_assignment_path(@course), :method => :delete, :confirm => 'Are you sure?' + 25: = link_to 'Back to Course', course_path(@course) + app/views/assignment/show.html.haml:23:in `_app_views_assignment_show_html_haml___3675843282366847425_70113167654080' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (66.4ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:17:24 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (11.3ms) +Completed 500 Internal Server Error in 21ms + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"assignment", :course_id=>#, :format=>nil, :id=>nil} missing required keys: [:id]): + 21: + 22: -else + 23: = link_to 'Edit', edit_course_assignment_path(id: @assignment.id) + 24: = button_to 'Delete', course_assignment_path(@course), :method => :delete, :confirm => 'Are you sure?' + 25: = link_to 'Back to Course', course_path(@course) + app/views/assignment/show.html.haml:24:in `_app_views_assignment_show_html_haml___3675843282366847425_70113204361700' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (65.7ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:17:41 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (5.6ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 28ms (Views: 25.3ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:17:41 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:17:41 -0700 + + +Started GET "/course/1/assignment/1/edit" for ::1 at 2015-06-07 16:17:44 -0700 + +AbstractController::ActionNotFound (The action 'edit' could not be found for AssignmentController): + actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/unknown_action.html.erb within rescues/layout (0.4ms) + + +Started GET "/course/1/assignment/1/edit" for ::1 at 2015-06-07 16:17:45 -0700 + +AbstractController::ActionNotFound (The action 'edit' could not be found for AssignmentController): + actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/unknown_action.html.erb within rescues/layout (0.3ms) + + +Started DELETE "/course/1/assignment/1" for ::1 at 2015-06-07 16:17:51 -0700 + +AbstractController::ActionNotFound (The action 'destroy' could not be found for AssignmentController): + actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/unknown_action.html.erb within rescues/layout (0.5ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:18:55 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (6.6ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:18:55 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:18:55 -0700 + + +Started GET "/course/1" for ::1 at 2015-06-07 16:19:12 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (7.0ms) + Rendered shared/_navigation.html.erb (0.8ms) +Completed 200 OK in 40ms (Views: 24.1ms | ActiveRecord: 0.7ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:19:15 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (7.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:19:16 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (5.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1/assignment/1" for ::1 at 2015-06-07 16:21:20 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.4ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (15.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 58ms (Views: 29.6ms | ActiveRecord: 2.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:21:20 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:21:20 -0700 + + +Started DELETE "/course/1/assignment/1" for ::1 at 2015-06-07 16:21:21 -0700 +Processing by AssignmentController#destroy as HTML + Parameters: {"authenticity_token"=>"vnB5hJLxKDTksPi+g6xL+AC0yKtXH2RU67kRofJ9sWOKVr1Gp5kNpPufTE/+aSUWFX7E9X8KG0xRX7JWA3WGVQ==", "course_id"=>"1", "id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) DELETE FROM "assignments" WHERE "assignments"."id" = ? [["id", 1]] +  (1.2ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment +Completed 302 Found in 4ms (ActiveRecord: 1.8ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:21:21 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (5.8ms) + Rendered shared/_navigation.html.erb (0.7ms) +Completed 200 OK in 25ms (Views: 22.2ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:21:21 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:21:21 -0700 + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 16:21:23 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (31.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.5ms) +Completed 200 OK in 49ms (Views: 48.4ms | ActiveRecord: 0.2ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:21:27 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7oHWN8sEZ6r4Aoug4P+zFoYcHlecE6ca7vWaGSkeZvLnMOa6kQ0DrTPvt/+RpAiT9J8J3ZlMYTRXXWflaxOrQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" IS NULL LIMIT 1 +  (0.0ms) begin transaction + SQL (0.3ms) INSERT INTO "assignments" ("title", "description", "start_time", "deadline", "course_id") VALUES (?, ?, ?, ?, ?) [["title", "Cool"], ["description", "balrgh"], ["start_time", "2015-06-07 00:00:00.000000"], ["deadline", "2015-06-07 00:00:00.000000"], ["course_id", 1]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment +Completed 302 Found in 20ms (ActiveRecord: 1.4ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:21:27 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (3.7ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:21:27 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:21:28 -0700 + + +Started GET "/course/1/assignment/2" for ::1 at 2015-06-07 16:21:29 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (4.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment/2" for ::1 at 2015-06-07 16:26:42 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (14.5ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 61ms (Views: 34.6ms | ActiveRecord: 2.0ms) + + +Started GET "/course/1/assignment/2" for ::1 at 2015-06-07 16:26:42 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (3.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/2/edit" for ::1 at 2015-06-07 16:26:43 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 8ms + +ActiveRecord::RecordNotFound (Couldn't find Project with 'id'=): + app/controllers/assignment_controller.rb:39:in `edit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.5ms) + + +Started GET "/course/1/assignment/2/edit" for ::1 at 2015-06-07 16:26:44 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 4ms + +ActiveRecord::RecordNotFound (Couldn't find Project with 'id'=): + app/controllers/assignment_controller.rb:39:in `edit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (62.1ms) + + +Started GET "/course/1/assignment/2/edit" for ::1 at 2015-06-07 16:27:10 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 31ms + +ActiveRecord::RecordNotFound (Couldn't find Project with 'id'=): + app/controllers/assignment_controller.rb:39:in `edit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (9.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (77.1ms) + + +Started GET "/course/1/assignment/2/edit" for ::1 at 2015-06-07 16:27:50 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] +Completed 500 Internal Server Error in 33ms + +NoMethodError (undefined method `find_all' for #): + app/controllers/assignment_controller.rb:39:in `edit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.4ms) + + +Started GET "/course/1/assignment/2/edit" for ::1 at 2015-06-07 16:28:23 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 28ms + +ActiveRecord::RecordNotFound (Couldn't find Project with 'id'=): + app/controllers/assignment_controller.rb:39:in `edit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (68.0ms) + + +Started GET "/course/1/assignment/2/edit" for ::1 at 2015-06-07 16:29:32 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + Rendered assignment/edit.html.haml within layouts/application (6.4ms) +Completed 500 Internal Server Error in 39ms + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"assignment", :course_id=>#, :format=>nil, :id=>nil} missing required keys: [:id]): + 1: %h1 Edit Assignment + 2: + 3: + 4: =form_tag course_assignment_path(@assignment), :method => :put do + 5: .form-group + 6: = label :assignment, :title, 'Title', :required => true + 7: %br + app/views/assignment/edit.html.haml:4:in `_app_views_assignment_edit_html_haml___1926636262136607482_70113199409280' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (79.5ms) + + +Started GET "/course/1/assignment/2/edit" for ::1 at 2015-06-07 16:29:49 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"2"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] + Rendered assignment/edit.html.haml within layouts/application (11.3ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (6.7ms) +Completed 200 OK in 37ms (Views: 35.4ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:29:49 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:29:49 -0700 + + +Started PUT "/course/1/assignment/2" for ::1 at 2015-06-07 16:29:58 -0700 + +AbstractController::ActionNotFound (The action 'update' could not be found for AssignmentController): + actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' + actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.0) lib/rack/etag.rb:24:in `call' + rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' + rack (1.6.0) lib/rack/head.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' + activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' + activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' + activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/unknown_action.html.erb within rescues/layout (0.4ms) + + +Started PUT "/course/1/assignment/2" for ::1 at 2015-06-07 16:33:41 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rI8/b3uPLZ+l1p1E9VDYcV9rduxzfkGIf61hOfkiZnOYqfutTucID7r5KbWIlbafSqF6sltrPpDFS8LOCCpRRQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"7", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"10", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"2"} + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] +Unpermitted parameter: template +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "assignments" SET "start_time" = ?, "deadline" = ? WHERE "assignments"."id" = ? [["start_time", "2015-07-07 00:00:00.000000"], ["deadline", "2015-10-07 00:00:00.000000"], ["id", 2]] +  (0.6ms) commit transaction +Completed 500 Internal Server Error in 26ms + +NameError (undefined local variable or method `template' for #): + app/controllers/assignment_controller.rb:51:in `update' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (71.4ms) + + +Started PUT "/course/1/assignment/2" for ::1 at 2015-06-07 16:35:04 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rI8/b3uPLZ+l1p1E9VDYcV9rduxzfkGIf61hOfkiZnOYqfutTucID7r5KbWIlbafSqF6sltrPpDFS8LOCCpRRQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"7", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"10", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"2"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] +Unpermitted parameter: template +  (0.0ms) begin transaction +  (0.0ms) commit transaction + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +Completed 500 Internal Server Error in 25ms + +NameError (undefined local variable or method `template' for #): + app/controllers/assignment_controller.rb:52:in `update' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (95.1ms) + + +Started PUT "/course/1/assignment/2" for ::1 at 2015-06-07 16:35:17 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rI8/b3uPLZ+l1p1E9VDYcV9rduxzfkGIf61hOfkiZnOYqfutTucID7r5KbWIlbafSqF6sltrPpDFS8LOCCpRRQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"7", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"10", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"2"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] +Unpermitted parameter: template +  (0.1ms) begin transaction +  (0.1ms) commit transaction + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +  (0.1ms) begin transaction + SQL (0.3ms) DELETE FROM "assignments" WHERE "assignments"."id" = ? [["id", 2]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/new +Completed 302 Found in 23ms (ActiveRecord: 2.1ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 16:35:17 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (7.2ms) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (9.4ms) +Completed 200 OK in 45ms (Views: 33.5ms | ActiveRecord: 0.9ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:35:18 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:35:18 -0700 + + +Started PUT "/course/1/assignment/2" for ::1 at 2015-06-07 16:36:56 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rI8/b3uPLZ+l1p1E9VDYcV9rduxzfkGIf61hOfkiZnOYqfutTucID7r5KbWIlbafSqF6sltrPpDFS8LOCCpRRQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"7", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"10", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"2"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 2]] +Completed 404 Not Found in 10ms + +ActiveRecord::RecordNotFound (Couldn't find Assignment with 'id'=2): + app/controllers/assignment_controller.rb:45:in `update' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.5ms) + + +Started PUT "/course/1/assignment/console/repl_sessions/433734cbb8bc79cb0f64857840c88b3c" for ::1 at 2015-06-07 16:38:17 -0700 + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" + + +Started PUT "/course/1/assignment/console/repl_sessions/433734cbb8bc79cb0f64857840c88b3c" for ::1 at 2015-06-07 16:38:29 -0700 + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT 1 + + +Started GET "/" for ::1 at 2015-06-07 16:38:34 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (8.0ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.6ms) +Completed 200 OK in 30ms (Views: 28.6ms | ActiveRecord: 0.6ms) + + +Started GET "/user/1" for ::1 at 2015-06-07 16:38:35 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (4.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-07 16:38:37 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (4.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 37ms (Views: 22.2ms | ActiveRecord: 0.7ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 16:38:38 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (5.7ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 36ms (Views: 21.7ms | ActiveRecord: 0.9ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:38:39 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (5.1ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.6ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 16:38:40 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (3.9ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.2ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:38:44 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"LrMTRZq9RzUV2jzeFG73srq1GGnM9CSkNdJerrOwn8QaldeHr9VipQr1iC9pq5lcr38UN+ThW7yPNP1ZQrio8g==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/new +Completed 302 Found in 17ms (ActiveRecord: 1.0ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-07 16:38:44 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (3.9ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.4ms) +Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:38:44 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:38:44 -0700 + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:38:59 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"8KYORl2+fiYIiqHJxlHU8t36qHnnece9gW575R0NkovEgMqEaNZbthelFTi7lLocyDCkJ89suKU7iNgS7AWlvQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +Completed 500 Internal Server Error in 32ms + +NoMethodError (undefined method `id' for nil:NilClass): + app/controllers/assignment_controller.rb:30:in `create' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (65.4ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:42:45 -0700 + +SyntaxError (/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/controllers/assignment_controller.rb:31: syntax error, unexpected keyword_end +/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/controllers/assignment_controller.rb:81: syntax error, unexpected end-of-input, expecting keyword_end): + app/controllers/assignment_controller.rb:31: syntax error, unexpected keyword_end + app/controllers/assignment_controller.rb:81: syntax error, unexpected end-of-input, expecting keyword_end + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (3.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (66.0ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-07 16:42:54 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"8KYORl2+fiYIiqHJxlHU8t36qHnnece9gW575R0NkovEgMqEaNZbthelFTi7lLocyDCkJ89suKU7iNgS7AWlvQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"7"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +  (0.0ms) begin transaction + SQL (0.3ms) INSERT INTO "assignments" ("title", "description", "start_time", "deadline", "course_id") VALUES (?, ?, ?, ?, ?) [["title", "Cool"], ["description", "balrgh"], ["start_time", "2015-06-07 00:00:00.000000"], ["deadline", "2015-06-07 00:00:00.000000"], ["course_id", 1]] +  (1.3ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment +Completed 302 Found in 35ms (ActiveRecord: 3.4ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:42:54 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (15.8ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 32ms (Views: 30.0ms | ActiveRecord: 1.0ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:42:54 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:42:54 -0700 + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:42:56 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (3.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/3/edit" for ::1 at 2015-06-07 16:42:57 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + Rendered assignment/edit.html.haml within layouts/application (7.2ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 27ms (Views: 24.7ms | ActiveRecord: 0.4ms) + + +Started PUT "/course/1/assignment/3" for ::1 at 2015-06-07 16:43:01 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"NsmrkEI+l2bxIt8J5M7h+ckz7KJac46BAkrgKkQZaTUC729Sd1ay9u4Na/iZC48X3Png/HJm8Zm4rEPdtRFeAw==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"7", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"8", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] +Unpermitted parameter: template +  (0.0ms) begin transaction + SQL (1.2ms) UPDATE "assignments" SET "start_time" = ?, "deadline" = ? WHERE "assignments"."id" = ? [["start_time", "2015-07-07 00:00:00.000000"], ["deadline", "2015-08-07 00:00:00.000000"], ["id", 3]] +  (1.5ms) commit transaction + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +Completed 500 Internal Server Error in 9ms + +NoMethodError (undefined method `id' for nil:NilClass): + app/controllers/assignment_controller.rb:57:in `update' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (68.0ms) + + +Started PUT "/course/1/assignment/3" for ::1 at 2015-06-07 16:43:16 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"NsmrkEI+l2bxIt8J5M7h+ckz7KJac46BAkrgKkQZaTUC729Sd1ay9u4Na/iZC48X3Png/HJm8Zm4rEPdtRFeAw==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"7", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"8", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] +Unpermitted parameter: template +  (0.1ms) begin transaction +  (0.1ms) commit transaction + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +Completed 500 Internal Server Error in 22ms + +ActionController::UrlGenerationError (No route matches {:action=>"show", :controller=>"assignment", :course_id=>#, :format=>nil, :id=>nil} missing required keys: [:id]): + app/controllers/assignment_controller.rb:61:in `update' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (67.6ms) + + +Started PUT "/course/1/assignment/3" for ::1 at 2015-06-07 16:43:34 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"NsmrkEI+l2bxIt8J5M7h+ckz7KJac46BAkrgKkQZaTUC729Sd1ay9u4Na/iZC48X3Png/HJm8Zm4rEPdtRFeAw==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"7", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"8", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] +Unpermitted parameter: template +  (0.1ms) begin transaction +  (0.1ms) commit transaction + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +  (0.0ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 21ms (ActiveRecord: 1.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:43:34 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (15.5ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 43ms (Views: 31.4ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:43:34 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:43:34 -0700 + + +Started GET "/course/1/assignment/3/edit" for ::1 at 2015-06-07 16:43:36 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + Rendered assignment/edit.html.haml within layouts/application (4.2ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.3ms) + + +Started PUT "/course/1/assignment/3" for ::1 at 2015-06-07 16:43:37 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"a/3HEnnG68ofYxUVdjnbtnzHg9PMUUf4fWBKhemCcltf2wPQTK7OWgBMoeQL/LVYaQ2PjeREOODHhulyGIpFbQ==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"7", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"8", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] +Unpermitted parameter: template +  (0.0ms) begin transaction +  (0.1ms) commit transaction + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +  (0.0ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 7ms (ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:43:37 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (2.8ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:43:37 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:43:37 -0700 + + +Started GET "/course/1/assignment/3/edit" for ::1 at 2015-06-07 16:43:39 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + Rendered assignment/edit.html.haml within layouts/application (6.1ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.5ms) +Completed 200 OK in 24ms (Views: 22.8ms | ActiveRecord: 0.3ms) + + +Started PUT "/course/1/assignment/3" for ::1 at 2015-06-07 16:43:43 -0700 +Processing by AssignmentController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"+55eFqJXQUG4GqV8b4UV3fLI+KGdxIhDkwmcUvcwAbbPuJrUlz9k0ac1EY0SQHsz5wL0/7XR91sp7z+lBjg2gA==", "assignment"=>{"title"=>"Cool", "description"=>"balrgh", "template"=>"", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"7", "deadline(1i)"=>"2015", "deadline(2i)"=>"7", "deadline(3i)"=>"7"}, "commit"=>"Update Course", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] +Unpermitted parameter: template +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "assignments" SET "start_time" = ?, "deadline" = ? WHERE "assignments"."id" = ? [["start_time", "2015-06-07 00:00:00.000000"], ["deadline", "2015-07-07 00:00:00.000000"], ["id", 3]] +  (1.1ms) commit transaction + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", ""]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 7ms (ActiveRecord: 1.8ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:43:43 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (3.6ms) + Rendered shared/_navigation.html.erb (0.7ms) +Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:43:43 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:43:43 -0700 + + +Started GET "/course/1/assignment/3/edit" for ::1 at 2015-06-07 16:43:46 -0700 +Processing by AssignmentController#edit as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + Rendered assignment/edit.html.haml within layouts/application (4.5ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.6ms) +Completed 200 OK in 22ms (Views: 20.4ms | ActiveRecord: 0.3ms) From 0b8be82fc40e83417b67a210f8a0da579e4e2af8 Mon Sep 17 00:00:00 2001 From: Kyle Hotchkiss Date: Sun, 7 Jun 2015 17:29:03 -0700 Subject: [PATCH 2/3] Submit projects Users can now submit projects for assignments. BUG: submitting project gets rid of users for the project. Need to fix. Teachers can view submission. Currently no way to monitor multiple submissions by same user. --- app/controllers/assignment_controller.rb | 12 +- app/views/assignment/show.html.haml | 13 +- config/routes.rb | 2 +- db/development.sqlite3 | Bin 73728 -> 73728 bytes log/development.log | 1669 ++++++++++++++++++++++ 5 files changed, 1693 insertions(+), 3 deletions(-) diff --git a/app/controllers/assignment_controller.rb b/app/controllers/assignment_controller.rb index b793180..866576c 100644 --- a/app/controllers/assignment_controller.rb +++ b/app/controllers/assignment_controller.rb @@ -70,7 +70,17 @@ def destroy end def submit - + @assignment = Assignment.find(params[:id]) + @project = current_user.projects.where(:name => params[:submition][:project]).first + if @project + @project.update_attributes(assignment_id: @assignment.id) + @project.save + flash[:notice] = "Project successfully submited" + redirect_to course_assignment_path(id: @assignment.id) + else + flash[:alert] = "Invalid Project" + redirect_to course_assignment_path(id: @assignment.id) + end end private diff --git a/app/views/assignment/show.html.haml b/app/views/assignment/show.html.haml index d5955f1..cea5cea 100644 --- a/app/views/assignment/show.html.haml +++ b/app/views/assignment/show.html.haml @@ -10,7 +10,7 @@ %li Deadline: = @assignment.deadline - + -if !(@course.teachers.include?(current_user)) -if @course.students.include?(current_user) = form_tag submit_assignment_path do @@ -22,6 +22,17 @@ = submit_tag 'Submit from assignment' -else + %table{:class => "table table-hover"} + %thead + %tr + %th Submission + %th User(s) + %tbody + - @assignment.submissions.each do |project| + %tr + %td= link_to project.name, project_path(project) + %td= project.all_users + = link_to 'Edit', edit_course_assignment_path(id: @assignment.id) = button_to 'Delete', course_assignment_path(id: @assignment.id), :method => :delete, :confirm => 'Are you sure?' = link_to 'Back to Course', course_path(@course) diff --git a/config/routes.rb b/config/routes.rb index 4b899ff..10134ce 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,5 +32,5 @@ # get '/course/:id/assignments/:assignment_id' => 'assignment#show', as: 'show_assignment' # get '/course/:id/assignments/new' => 'assignment#new', as: 'new_assignment' # post '/course/:id/assignments/new', to: 'assignment#create', as: 'create_assignment' - post '/course/:id/assignments/:assignment_id' => 'assignment#submit', as: 'submit_assignment' + post '/course/:course_id/assignments/:id' => 'assignment#submit', as: 'submit_assignment' end diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 7cc87cf99aca34381e3568d22df5656a3c32889e..b57ff38a7d4ad4f382bb2b2b7e3a201110b2cdd1 100644 GIT binary patch delta 433 zcmZoTz|wGlWr8%L+e8^>Mz@U#3-$T=N*K7fJ}_|i@>}p-<@&H$z~BLwV51ZZAA_iV zBP#;~1EZs(u<+y-yFhCuBLhQIT>~>+0}BNM11m!yGSV|PGB7fKR%Z7@1jESs4P+v)b4w!=6O+jwtfe-q*aR@K@Xu#R++1PT z$tcd>#K6Iy%fSDY|0Vww{zLp*`IqqL@=x2W=n%?pF3irX&6u2DT2!1GUtCg}lA2di z%mj3;2xCD}epYHSl*gIO!@(>I7h{>c#6N+Dg?|PE|6~5c{OkE=Y!(dY;Li|cVPg;# zm1OkJ&(BE);(*emoXliqA!arPab8Kr;LrfqAgGue6B~m%P-$>pVu7MUcxqB{W=SfN z9%)8425D(YM#u8h;{05&Oim8Wz)cAp4ov(%ftJ4KX9v2LosorQ(*~9RHb(xR3@~w4 OCKd)pPL^c?i~;~`d2m1g delta 157 zcmZoTz|wGlWr8%L*+dy}p-PzvREde~5o8|B}su2^07yFY!;<%(8(=U^80+lf!0?4S)C-vup?e3jN`qG=Xh9 Jn*if4egM-hFK++< diff --git a/log/development.log b/log/development.log index 967eb69..9347a23 100644 --- a/log/development.log +++ b/log/development.log @@ -39401,3 +39401,1672 @@ Processing by AssignmentController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered shared/_navigation.html.erb (1.6ms) Completed 200 OK in 22ms (Views: 20.4ms | ActiveRecord: 0.3ms) + + +Started DELETE "/users/sign_out" for ::1 at 2015-06-07 16:45:31 -0700 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"0WNsgNLEEbt30frQaSAIkclCdMZcG+/yGxkuK2RWovrlRahC56w0K2j+TiEU5WZ/3Ih4mHQOkOqh/43clV6VzA=="} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 8ms (ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2015-06-07 16:45:31 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (3.2ms) + Rendered shared/_navigation.html.erb (4.1ms) +Completed 200 OK in 28ms (Views: 26.5ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:45:31 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:45:31 -0700 + + +Started GET "/users/sign_in" for ::1 at 2015-06-07 16:45:32 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (10.7ms) + Rendered devise/sessions/new.html.erb within layouts/application (26.4ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 50ms (Views: 48.7ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-07 16:45:39 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"HhzW5ahyUbfYZ1Zt1NM5XK66bkqljD/PxJ9gX/0byeIcGkhWrctx/QOBjdy/Z/nCnOmID6femAqgcHQWxTUO7A==", "user"=>{"email"=>"minh@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "minh@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-06-07 23:45:39.190268"], ["current_sign_in_at", "2015-06-07 23:45:39.190268"], ["last_sign_in_ip", "::1"], ["current_sign_in_ip", "::1"], ["sign_in_count", 1], ["id", 4]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 91ms (ActiveRecord: 1.3ms) + + +Started GET "/" for ::1 at 2015-06-07 16:45:39 -0700 +Processing by UserController#index as HTML + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:45:39 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:45:39 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-07 16:45:40 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (1.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-07 16:45:41 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 27ms (Views: 19.0ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 16:45:42 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (5.5ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 33ms (Views: 22.7ms | ActiveRecord: 0.8ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:45:44 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (5.1ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:45:45 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (4.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.7ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 16:45:47 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (4.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.5ms) + + +Started POST "/course/1/enroll" for ::1 at 2015-06-07 16:45:49 -0700 +Processing by CourseController#enroll as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"wQOnx4IvbjJoTE1yvDMAb6jBQL1HuCB/sb0d/EjQTOyL0wMwi+aNQUB+lMzxm2KzQBAPDD3v6dVOkGXatMyozg==", "commit"=>"Enroll in Course", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "course_students" ("course_id", "user_id") VALUES (?, ?) [["course_id", 1], ["user_id", 4]] +  (1.2ms) commit transaction +Redirected to http://localhost:3000/course/1 +Completed 302 Found in 9ms (ActiveRecord: 1.9ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 16:45:49 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (5.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:45:49 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:45:49 -0700 + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:45:50 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (4.5ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:45:51 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (9.6ms) +Completed 500 Internal Server Error in 20ms + +ActionView::Template::Error (No route matches {:action=>"submit", :controller=>"assignment", :course_id=>"1", :id=>"3"} missing required keys: [:assignment_id]): + 13: + 14: -if !(@course.teachers.include?(current_user)) + 15: -if @course.students.include?(current_user) + 16: = form_tag submit_assignment_path do + 17: .form-group + 18: =label :submition, :project, 'Project Title' + 19: %br + app/views/assignment/show.html.haml:16:in `_app_views_assignment_show_html_haml___3675843282366847425_70113200944560' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (4.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (73.5ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:45:51 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (6.5ms) +Completed 500 Internal Server Error in 18ms + +ActionView::Template::Error (No route matches {:action=>"submit", :controller=>"assignment", :course_id=>"1", :id=>"3"} missing required keys: [:assignment_id]): + 13: + 14: -if !(@course.teachers.include?(current_user)) + 15: -if @course.students.include?(current_user) + 16: = form_tag submit_assignment_path do + 17: .form-group + 18: =label :submition, :project, 'Project Title' + 19: %br + app/views/assignment/show.html.haml:16:in `_app_views_assignment_show_html_haml___3675843282366847425_70113167194760' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (67.1ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:46:35 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.6ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (27.6ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 65ms (Views: 42.2ms | ActiveRecord: 2.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:46:35 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:46:35 -0700 + + +Started GET "/" for ::1 at 2015-06-07 16:48:27 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.7ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4" for ::1 at 2015-06-07 16:48:31 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 17.3ms | ActiveRecord: 0.3ms) + + +Started GET "/project/new" for ::1 at 2015-06-07 16:48:32 -0700 +Processing by ProjectController#new as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered project/new.html.haml within layouts/application (6.4ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 25ms (Views: 24.9ms | ActiveRecord: 0.1ms) + + +Started POST "/project.4" for ::1 at 2015-06-07 16:48:41 -0700 +Processing by ProjectController#create as + Parameters: {"utf8"=>"✓", "authenticity_token"=>"sothyHEfFALKAHM/eYpkbf9lOAB7AomHFlFO/RFfdnn4W8U/eNb3ceIyqoE0IgaxF7R3sQFVQC3pfDbb7UOSWw==", "project"=>{"name"=>"Awesome", "additional_users"=>"", "description"=>"coollll", "privacy"=>"Public"}, "commit"=>"Create"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +Unpermitted parameter: additional_users +  (0.2ms) begin transaction + SQL (0.3ms) INSERT INTO "projects" ("name", "description", "privacy") VALUES (?, ?, ?) [["name", "Awesome"], ["description", "coollll"], ["privacy", "Public"]] + SQL (0.2ms) INSERT INTO "user_projects" ("user_id", "project_id") VALUES (?, ?) [["user_id", 4], ["project_id", 1]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/project/1 +Completed 302 Found in 29ms (ActiveRecord: 2.2ms) + + +Started GET "/project/1" for ::1 at 2015-06-07 16:48:41 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"1"} + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 1]] + Rendered project/show.html.haml within layouts/application (9.5ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 33ms (Views: 21.9ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 16:48:41 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 16:48:41 -0700 + + +Started GET "/user/4/projects" for ::1 at 2015-06-07 16:48:44 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.1ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (1) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (24.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 43ms (Views: 39.9ms | ActiveRecord: 0.7ms) + + +Started GET "/" for ::1 at 2015-06-07 16:48:46 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.9ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4" for ::1 at 2015-06-07 16:48:48 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/courses/enrolled" for ::1 at 2015-06-07 16:48:49 -0700 +Processing by CourseController#enrolled as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_students" ON "courses"."id" = "course_students"."course_id" WHERE "course_students"."user_id" = ? [["user_id", 4]] + Rendered course/index.html.erb within layouts/application (1.7ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 28ms (Views: 21.1ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 16:48:50 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (4.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 16:48:51 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (5.4ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 16:48:53 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (4.6ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.6ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 16:54:56 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} +Completed 500 Internal Server Error in 6ms + +NoMethodError (undefined method `projects' for nil:NilClass): + app/controllers/assignment_controller.rb:73:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (73.1ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 16:55:08 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] +Completed 500 Internal Server Error in 33ms + +NoMethodError (undefined method `submitions' for #): + app/controllers/assignment_controller.rb:75:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (3.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.0ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 16:56:17 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Assignment Load (0.5ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) begin transaction + Project Load (0.8ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' [["user_id", 4]] +SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' +  (0.1ms) rollback transaction +Completed 500 Internal Server Error in 30ms + +ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool'): + app/controllers/assignment_controller.rb:75:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (71.3ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 16:56:58 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + Project Load (0.4ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' [["user_id", 4]] +SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' +Completed 500 Internal Server Error in 36ms + Project Load (0.4ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' [["user_id", 4]] +SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' + +NoMethodError (undefined method `assignment_id=' for #): + app/controllers/assignment_controller.rb:75:in `submit' + + + Project Load (0.4ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' [["user_id", 4]] +SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (63.9ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 16:58:14 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + Project Load (0.5ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' [["user_id", 4]] +SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' +Completed 500 Internal Server Error in 31ms + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' [["user_id", 4]] +SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' + +NoMethodError (undefined method `update_attributes' for #): + app/controllers/assignment_controller.rb:75:in `submit' + + + Project Load (0.7ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' [["user_id", 4]] +SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (64.7ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 16:58:52 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.6ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4]] +SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' ORDER BY "projects"."id" ASC LIMIT 1 +Completed 500 Internal Server Error in 23ms + +ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: projects.title: SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."title" = 'Cool' ORDER BY "projects"."id" ASC LIMIT 1): + app/controllers/assignment_controller.rb:73:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (71.1ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 16:59:26 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Cool"]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] +Completed 500 Internal Server Error in 30ms + +NoMethodError (undefined method `update_attributes' for nil:NilClass): + app/controllers/assignment_controller.rb:75:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (3.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (62.3ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 17:00:19 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.4ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Cool"]] +Completed 500 Internal Server Error in 23ms + +NoMethodError (undefined method `id' for nil:NilClass): + app/controllers/assignment_controller.rb:82:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (68.9ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 17:00:39 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0rr/K9U1nd5ESg0o7pJ4IMR5ynt4rOmM/CvXc6wug+SYalvc3Px+rWx41JajOhr8LKiFygL7ICYDBq9VUDJnxg==", "submition"=>{"project"=>"Cool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Cool"]] +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 29ms (ActiveRecord: 1.7ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:00:39 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (14.5ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 42ms (Views: 29.5ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:00:39 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:00:39 -0700 + + +Started GET "/" for ::1 at 2015-06-07 17:00:42 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.6ms) +Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4" for ::1 at 2015-06-07 17:00:44 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.9ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.4ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-07 17:00:45 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.1ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (1) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (12.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 33ms (Views: 30.1ms | ActiveRecord: 0.8ms) + + +Started GET "/user/1" for ::1 at 2015-06-07 17:00:50 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (1.6ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-07 17:00:52 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 25ms (Views: 18.3ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 17:00:52 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (4.8ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.7ms) + + +Started GET "/user/1" for ::1 at 2015-06-07 17:00:54 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (1.6ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.2ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 17:00:57 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (5.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:00:58 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (4.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.4ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 17:01:01 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"/h0Qb0nfv3OaIybhbHZq/Lv8F4Q4S/LJ5S85KZb0NE60zbSYQBZcALIR/18h3gggUy1YNUIcO2MaAkEPaujQbA==", "submition"=>{"project"=>"Awesome"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Awesome"]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "projects" SET "assignment_id" = ? WHERE "projects"."id" = ? [["assignment_id", 3], ["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + SQL (0.2ms) DELETE FROM "user_projects" WHERE "user_projects"."project_id" = ? AND "user_projects"."user_id" = 4 [["project_id", 1]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 13ms (ActiveRecord: 2.5ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:01:01 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (16.6ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 44ms (Views: 40.3ms | ActiveRecord: 0.9ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:01:01 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:01:01 -0700 + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:04:50 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (26.9ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 69ms (Views: 44.3ms | ActiveRecord: 2.0ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:04:50 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:04:50 -0700 + + +Started GET "/" for ::1 at 2015-06-07 17:05:00 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.3ms) + + +Started DELETE "/users/sign_out" for ::1 at 2015-06-07 17:05:05 -0700 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"rnErAAo3t98rIPEG7EfbKjnocKKItyO9Bgdas5QEqOnkoY/3A/5UrAMSKLih77n20Tk/E/Lg6hf5KiKVaBhMyw=="} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 4ms (ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2015-06-07 17:05:05 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:05:05 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:05:05 -0700 + + +Started GET "/users/sign_in" for ::1 at 2015-06-07 17:05:07 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (4.0ms) + Rendered devise/sessions/new.html.erb within layouts/application (11.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 32ms (Views: 30.7ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-07 17:05:11 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"QYxILiQEvSpZk7RXzYTOu5gAGGgmr9CJUqQ8VGRfBnGxUvlK79GcxHCe/wN0ZAq8D9kvL7OJlnu5BjxfewdBkg==", "user"=>{"email"=>"kyle@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "kyle@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-06-07 21:20:53.356441"], ["current_sign_in_at", "2015-06-08 00:05:11.792444"], ["sign_in_count", 4], ["id", 1]] +  (0.8ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 93ms (ActiveRecord: 1.4ms) + + +Started GET "/" for ::1 at 2015-06-07 17:05:11 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.4ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.7ms) +Completed 200 OK in 29ms (Views: 26.7ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:05:11 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:05:11 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-07 17:05:13 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (2.1ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-07 17:05:14 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (1.5ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 25ms (Views: 18.9ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 17:05:15 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (4.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.6ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 17:05:24 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (6.6ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:05:25 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."assignment_id" = ? [["assignment_id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + Rendered assignment/show.html.haml within layouts/application (21.8ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 37ms (Views: 35.0ms | ActiveRecord: 1.0ms) + + +Started GET "/project/1" for ::1 at 2015-06-07 17:05:58 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"1"} + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 1]] + Rendered project/show.html.haml within layouts/application (7.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 30ms (Views: 23.5ms | ActiveRecord: 0.6ms) + + +Started GET "/" for ::1 at 2015-06-07 17:06:28 -0700 +Processing by UserController#index as HTML + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.5ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.4ms) + + +Started GET "/user/4" for ::1 at 2015-06-07 17:06:30 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (1.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-07 17:06:31 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + Rendered project/index.html.haml within layouts/application (0.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 27ms (Views: 17.0ms | ActiveRecord: 0.4ms) + User Load (3.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + Project Load (1.9ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" + Project Load (0.3ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1 + User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1 + User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["project_id", 1]] + + +Started GET "/user/4" for ::1 at 2015-06-07 17:09:55 -0700 + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (11.4ms) + Rendered shared/_navigation.html.erb (1.0ms) +Completed 200 OK in 158ms (Views: 126.7ms | ActiveRecord: 0.7ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:09:55 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:09:55 -0700 + + +Started DELETE "/users/sign_out" for ::1 at 2015-06-07 17:09:56 -0700 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"J4+N1PwdCu6WliI/7Y5eFJJLiw0FR56Z1ZUPDTe4pugLegbJk1YP7DWmtVGSTdByzyOm/7sqFmzXB00e0tfslA=="} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 17ms (ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2015-06-07 17:09:56 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (7.0ms) + Rendered shared/_navigation.html.erb (3.1ms) +Completed 200 OK in 31ms (Views: 29.9ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:09:56 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:09:56 -0700 + + +Started GET "/users/sign_in" for ::1 at 2015-06-07 17:09:58 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (12.4ms) + Rendered devise/sessions/new.html.erb within layouts/application (29.5ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 51ms (Views: 49.7ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-07 17:10:12 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"CdRG09/17+51rTDPaib6U4gXG5sCfTi6AQ6PBykOO/gPP9B+qiaz1Q1jM586eqHmxoZcZWgzisS9edkKRbkj1Q==", "user"=>{"email"=>"minh@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "minh@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2015-06-08 00:10:12.320218"], ["sign_in_count", 2], ["id", 4]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 98ms (ActiveRecord: 1.5ms) + + +Started GET "/" for ::1 at 2015-06-07 17:10:12 -0700 +Processing by UserController#index as HTML + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.9ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.8ms) +Completed 200 OK in 23ms (Views: 22.3ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:10:12 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:10:12 -0700 + + +Started GET "/user/4" for ::1 at 2015-06-07 17:10:14 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (4.5ms) + Rendered shared/_navigation.html.erb (0.9ms) +Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-07 17:10:16 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + Rendered project/index.html.haml within layouts/application (15.4ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 73ms (Views: 38.7ms | ActiveRecord: 1.1ms) + + +Started GET "/project/new" for ::1 at 2015-06-07 17:10:17 -0700 +Processing by ProjectController#new as HTML + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered project/new.html.haml within layouts/application (8.6ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 25ms (Views: 23.9ms | ActiveRecord: 0.2ms) + + +Started POST "/project.4" for ::1 at 2015-06-07 17:10:24 -0700 +Processing by ProjectController#create as + Parameters: {"utf8"=>"✓", "authenticity_token"=>"niVsmr2Wpu6IEwbzw8elLhTs4cu6tYchKI9bDeIs8judDy506yJr7t0Rh5qURVSQKnPvmoOL4eWs33BzWUAmXg==", "project"=>{"name"=>"Snap! Website", "additional_users"=>"", "description"=>"cool", "privacy"=>"Public"}, "commit"=>"Create"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +Unpermitted parameter: additional_users +  (0.2ms) begin transaction + SQL (0.4ms) INSERT INTO "projects" ("name", "description", "privacy") VALUES (?, ?, ?) [["name", "Snap! Website"], ["description", "cool"], ["privacy", "Public"]] + SQL (0.2ms) INSERT INTO "user_projects" ("user_id", "project_id") VALUES (?, ?) [["user_id", 4], ["project_id", 2]] +  (4.3ms) commit transaction +Redirected to http://localhost:3000/project/2 +Completed 302 Found in 70ms (ActiveRecord: 5.3ms) + + +Started GET "/project/2" for ::1 at 2015-06-07 17:10:24 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"2"} + Project Load (0.3ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (1.4ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 2]] + Rendered project/show.html.haml within layouts/application (20.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 109ms (Views: 53.5ms | ActiveRecord: 2.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:10:24 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:10:24 -0700 + + +Started GET "/project/2/edit" for ::1 at 2015-06-07 17:10:35 -0700 +Processing by ProjectController#edit as HTML + Parameters: {"id"=>"2"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered project/edit.html.haml within layouts/application (4.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.3ms) + + +Started PUT "/project/2" for ::1 at 2015-06-07 17:13:32 -0700 +Processing by ProjectController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"ib+e9UEauZ27RJSyO1TdPq8ueqK0dL+xS23Mckhs2I+KldwbF650ne5GFdts1iyAkbF0841K2XXPPecM8wAM6g==", "project"=>{"name"=>"Snap! Website", "additional_users"=>"", "description"=>"cool", "privacy"=>"Public"}, "commit"=>"Update Project", "id"=>"2"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 2]] +Unpermitted parameter: additional_users +  (0.1ms) begin transaction + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 2]] + SQL (0.3ms) DELETE FROM "user_projects" WHERE "user_projects"."project_id" = ? AND "user_projects"."user_id" = 4 [["project_id", 2]] +  (1.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "user_projects" ("project_id", "user_id") VALUES (?, ?) [["project_id", 2], ["user_id", 4]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/project/2 +Completed 302 Found in 49ms (ActiveRecord: 4.8ms) + + +Started GET "/project/2" for ::1 at 2015-06-07 17:13:32 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"2"} + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.8ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 2]] + Rendered project/show.html.haml within layouts/application (8.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 45ms (Views: 32.4ms | ActiveRecord: 1.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:13:32 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:13:32 -0700 + + +Started GET "/" for ::1 at 2015-06-07 17:13:34 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (3.3ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1" for ::1 at 2015-06-07 17:13:36 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (1.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-07 17:13:37 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 35ms (Views: 18.8ms | ActiveRecord: 0.6ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 17:13:38 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (5.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 32ms (Views: 20.1ms | ActiveRecord: 0.6ms) + + +Started POST "/course/1/unenroll" for ::1 at 2015-06-07 17:13:39 -0700 +Processing by CourseController#unenroll as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"7xi6oh1SDQxLWSU36rw1XD/eEJ0JDZthcNstagU2cAzsMvhMS+bADB5bpF69PsTiAUEezDAz/aX0iwYUvlqkaQ==", "commit"=>"Un-enroll from Course", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.0ms) begin transaction + SQL (0.3ms) DELETE FROM "course_students" WHERE "course_students"."course_id" = ? AND "course_students"."user_id" = 4 [["course_id", 1]] +  (2.6ms) commit transaction +Redirected to http://localhost:3000/course/1 +Completed 302 Found in 7ms (ActiveRecord: 3.1ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 17:13:39 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (17.7ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 49ms (Views: 45.6ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:13:39 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:13:39 -0700 + + +Started POST "/course/1/enroll" for ::1 at 2015-06-07 17:13:40 -0700 +Processing by CourseController#enroll as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"3NpnYQgeYa96v1HU5ZIbv5p2dfTzikpDQWFCQV4GeBLf8CWPXqqsry+90L2yEOoBpOl7pcq0LIfFMWk/5Wqsdw==", "commit"=>"Enroll in Course", "id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "course_students" ("course_id", "user_id") VALUES (?, ?) [["course_id", 1], ["user_id", 4]] +  (1.3ms) commit transaction +Redirected to http://localhost:3000/course/1 +Completed 302 Found in 10ms (ActiveRecord: 2.1ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 17:13:40 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.8ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (7.5ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 36ms (Views: 30.2ms | ActiveRecord: 1.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:13:40 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:13:40 -0700 + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 17:13:41 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (19.4ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 46ms (Views: 37.7ms | ActiveRecord: 1.1ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:13:45 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (8.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.7ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 17:13:52 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"W+yWs8c33ESLjjbeVaWvh5Zq//3cyqFAc3QizNxy57xYxtRdkYMRRN6Mt7cCJ145qPXxrOX0x4T3JAmyZx4z2Q==", "submition"=>{"project"=>"Snap! Website"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.4ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Snap! Website"]] +Completed 500 Internal Server Error in 10ms + +ArgumentError (wrong number of arguments (1 for 2)): + app/controllers/assignment_controller.rb:76:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (78.0ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 17:14:14 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"W+yWs8c33ESLjjbeVaWvh5Zq//3cyqFAc3QizNxy57xYxtRdkYMRRN6Mt7cCJ145qPXxrOX0x4T3JAmyZx4z2Q==", "submition"=>{"project"=>"Snap! Website"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Snap! Website"]] +Completed 500 Internal Server Error in 38ms + +NameError (undefined local variable or method `assignment_id' for #): + app/controllers/assignment_controller.rb:76:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (66.7ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 17:14:23 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"W+yWs8c33ESLjjbeVaWvh5Zq//3cyqFAc3QizNxy57xYxtRdkYMRRN6Mt7cCJ145qPXxrOX0x4T3JAmyZx4z2Q==", "submition"=>{"project"=>"Snap! Website"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Snap! Website"]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "projects" SET "assignment_id" = ? WHERE "projects"."id" = ? [["assignment_id", 3], ["id", 2]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 2]] + SQL (0.2ms) DELETE FROM "user_projects" WHERE "user_projects"."project_id" = ? AND "user_projects"."user_id" = 4 [["project_id", 2]] +  (1.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 43ms (ActiveRecord: 3.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:14:23 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.6ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (22.7ms) + Rendered shared/_navigation.html.erb (0.8ms) +Completed 200 OK in 88ms (Views: 50.2ms | ActiveRecord: 2.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:14:23 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:14:23 -0700 + + +Started GET "/course/1" for ::1 at 2015-06-07 17:14:27 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (3.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 32ms (Views: 22.0ms | ActiveRecord: 0.5ms) + + +Started GET "/user/4" for ::1 at 2015-06-07 17:14:28 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-07 17:14:30 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + Rendered project/index.html.haml within layouts/application (1.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.3ms) + + +Started GET "/project/new" for ::1 at 2015-06-07 17:14:53 -0700 +Processing by ProjectController#new as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered project/new.html.haml within layouts/application (7.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 29ms (Views: 23.8ms | ActiveRecord: 0.7ms) + + +Started POST "/project.4" for ::1 at 2015-06-07 17:14:57 -0700 +Processing by ProjectController#create as + Parameters: {"utf8"=>"✓", "authenticity_token"=>"C4eg9eKtVxK4EZUP0rvTiefXLKdRANZ+WKaKOMUJ8qkIreIbtBmaEu0TFGaFOSI32Ugi9mg+sLrc9qFGfmUmzA==", "project"=>{"name"=>"SUPER", "additional_users"=>"", "description"=>"", "privacy"=>"Public"}, "commit"=>"Create"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +Unpermitted parameter: additional_users +  (0.3ms) begin transaction + SQL (0.5ms) INSERT INTO "projects" ("name", "description", "privacy") VALUES (?, ?, ?) [["name", "SUPER"], ["description", ""], ["privacy", "Public"]] + SQL (0.2ms) INSERT INTO "user_projects" ("user_id", "project_id") VALUES (?, ?) [["user_id", 4], ["project_id", 3]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/project/3 +Completed 302 Found in 47ms (ActiveRecord: 3.7ms) + + +Started GET "/project/3" for ::1 at 2015-06-07 17:14:57 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"3"} + Project Load (0.3ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.6ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 3]] + Rendered project/show.html.haml within layouts/application (16.5ms) + Rendered shared/_navigation.html.erb (0.7ms) +Completed 200 OK in 130ms (Views: 56.9ms | ActiveRecord: 1.9ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:14:58 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:14:58 -0700 + + +Started GET "/" for ::1 at 2015-06-07 17:15:02 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1" for ::1 at 2015-06-07 17:15:03 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (1.7ms) + Rendered shared/_navigation.html.erb (0.2ms) +Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-07 17:15:05 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.3ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 33ms (Views: 16.8ms | ActiveRecord: 0.8ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 17:15:06 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (5.1ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 32ms (Views: 21.8ms | ActiveRecord: 0.8ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 17:15:08 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (9.7ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 0.8ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:15:09 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (5.1ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.6ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 17:15:14 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"+V/PNAGe+g0nmPccVa5wR/gM9YIx6HeGfRnRomCnyS76dY3aVyo3DXKadnUCLIH5xpP70wjWEUL5Sfrc28sdSw==", "submition"=>{"project"=>"SUPER"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "SUPER"]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "projects" SET "assignment_id" = ? WHERE "projects"."id" = ? [["assignment_id", 3], ["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 3]] + SQL (0.1ms) DELETE FROM "user_projects" WHERE "user_projects"."project_id" = ? AND "user_projects"."user_id" = 4 [["project_id", 3]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 14ms (ActiveRecord: 2.2ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:15:14 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (6.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 39ms (Views: 36.3ms | ActiveRecord: 0.7ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:15:14 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:15:14 -0700 + + +Started GET "/" for ::1 at 2015-06-07 17:15:16 -0700 +Processing by UserController#index as HTML + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.4ms) + + +Started GET "/user/4" for ::1 at 2015-06-07 17:15:18 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-07 17:15:20 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + Rendered project/index.html.haml within layouts/application (1.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 16.1ms | ActiveRecord: 0.4ms) + + +Started GET "/project/new" for ::1 at 2015-06-07 17:17:02 -0700 +Processing by ProjectController#new as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered project/new.html.haml within layouts/application (2.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 18.9ms | ActiveRecord: 0.1ms) + + +Started POST "/project.4" for ::1 at 2015-06-07 17:17:17 -0700 +Processing by ProjectController#create as + Parameters: {"utf8"=>"✓", "authenticity_token"=>"SSbBALO6p1x7oyIc9oFWLUUu3TZZawTJWRtKcUeE4ehKDIPu5Q5qXC6ho3WhA6eTe7HTZ2BVYg3dS2EP/Og1jQ==", "project"=>{"name"=>"Kool", "additional_users"=>"", "description"=>"cool", "privacy"=>"Public"}, "commit"=>"Create"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +Unpermitted parameter: additional_users +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "projects" ("name", "description", "privacy") VALUES (?, ?, ?) [["name", "Kool"], ["description", "cool"], ["privacy", "Public"]] + SQL (0.4ms) INSERT INTO "user_projects" ("user_id", "project_id") VALUES (?, ?) [["user_id", 4], ["project_id", 4]] +  (1.3ms) commit transaction +Redirected to http://localhost:3000/project/4 +Completed 302 Found in 15ms (ActiveRecord: 2.3ms) + + +Started GET "/project/4" for ::1 at 2015-06-07 17:17:17 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"4"} + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 4]] + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 4]] + Rendered project/show.html.haml within layouts/application (15.8ms) + Rendered shared/_navigation.html.erb (0.9ms) +Completed 200 OK in 58ms (Views: 54.2ms | ActiveRecord: 1.0ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:17:17 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:17:17 -0700 + + +Started GET "/" for ::1 at 2015-06-07 17:17:19 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1" for ::1 at 2015-06-07 17:17:21 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (1.6ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-07 17:17:22 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.2ms) + + +Started GET "/course/1" for ::1 at 2015-06-07 17:17:23 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (3.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 17.2ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-07 17:17:24 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (3.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:17:25 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (4.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.4ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-07 17:17:29 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"CiEZslOQmmvN8se0OrE6mTxUVgw04AP4gE8oP39SrIkJC1tcBSRXa5jwRt1tM8snAstYXQ3eZTwEHwNBxD547A==", "submition"=>{"project"=>"Kool"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Kool"]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "projects" SET "assignment_id" = ? WHERE "projects"."id" = ? [["assignment_id", 3], ["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 4]] + SQL (0.1ms) DELETE FROM "user_projects" WHERE "user_projects"."project_id" = ? AND "user_projects"."user_id" = 4 [["project_id", 4]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 13ms (ActiveRecord: 2.1ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-07 17:17:29 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (7.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 40ms (Views: 38.2ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-07 17:17:29 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-07 17:17:29 -0700 + + +Started GET "/" for ::1 at 2015-06-07 17:17:31 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4" for ::1 at 2015-06-07 17:17:34 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 19ms (Views: 18.5ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-07 17:17:37 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + Rendered project/index.html.haml within layouts/application (1.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.2ms) + Project Load (4.2ms) SELECT "projects".* FROM "projects" + Project Load (0.1ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" DESC LIMIT 1 + User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["project_id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" DESC LIMIT 1 From 85fd249ccef7537938a9493b7b1af5284f8468dc Mon Sep 17 00:00:00 2001 From: Kyle Hotchkiss Date: Mon, 8 Jun 2015 22:26:27 -0700 Subject: [PATCH 3/3] Assignments! Users can now create assignments for their classes. Assignments include a title, description, start and end date, as well as starter code, which is a Snap! Project. Teachers can view the assignment submissions, and students can submit their own projects to complete assignments. STILL NEEDED: Logic handling users making multiple submissions for the same assignment --- app/controllers/assignment_controller.rb | 6 +- app/controllers/project_controller.rb | 2 +- app/models/project.rb | 5 +- app/models/user.rb | 2 +- app/views/assignment/show.html.haml | 5 +- db/development.sqlite3 | Bin 73728 -> 73728 bytes .../20150609044654_adding_typeto_project.rb | 5 + db/schema.rb | 3 +- log/development.log | 2152 +++++++++++++++++ 9 files changed, 2173 insertions(+), 7 deletions(-) create mode 100644 db/migrate/20150609044654_adding_typeto_project.rb diff --git a/app/controllers/assignment_controller.rb b/app/controllers/assignment_controller.rb index 866576c..4e3398a 100644 --- a/app/controllers/assignment_controller.rb +++ b/app/controllers/assignment_controller.rb @@ -73,8 +73,10 @@ def submit @assignment = Assignment.find(params[:id]) @project = current_user.projects.where(:name => params[:submition][:project]).first if @project - @project.update_attributes(assignment_id: @assignment.id) - @project.save + @submission = Submission.create(@project.attributes.except('id', 'type')) + @submission.update_attributes(assignment_id: @assignment.id) + @submission.save + @submission.add_users(@project.users) flash[:notice] = "Project successfully submited" redirect_to course_assignment_path(id: @assignment.id) else diff --git a/app/controllers/project_controller.rb b/app/controllers/project_controller.rb index 339aca1..6133ecc 100644 --- a/app/controllers/project_controller.rb +++ b/app/controllers/project_controller.rb @@ -7,7 +7,7 @@ def show def index @user = User.find(params[:id]) - @projects = (@user == current_user) ? @user.projects.includes(:users) : @user.public_projects + @projects = (@user == current_user) ? @user.projects.includes(:users).select{|project| project.type==nil} : @user.public_projects end def new diff --git a/app/models/project.rb b/app/models/project.rb index ca71852..f379ba1 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -2,7 +2,6 @@ class Project < ActiveRecord::Base has_and_belongs_to_many :users, join_table: 'user_projects' has_many :comments belongs_to :assignment - validates :name, presence: true after_update :remove_users @@ -29,3 +28,7 @@ def add_users(users) users.each { |user| self.users << user } end end + +class Submission < Project + +end diff --git a/app/models/user.rb b/app/models/user.rb index 4825010..16ee587 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -48,7 +48,7 @@ def public_projects # Input: User (self) # Output: Array of public project the User has worked on - self.projects.includes(:users).select{|project| project.privacy=='Public'} + self.projects.includes(:users).select{|project| project.privacy=='Public'; project.type==''} end def self.validate_emails(emails) diff --git a/app/views/assignment/show.html.haml b/app/views/assignment/show.html.haml index cea5cea..717ac19 100644 --- a/app/views/assignment/show.html.haml +++ b/app/views/assignment/show.html.haml @@ -10,6 +10,9 @@ %li Deadline: = @assignment.deadline + %li + Starter Code: + = link_to @assignment.template.name, project_path(@assignment.template) -if !(@course.teachers.include?(current_user)) -if @course.students.include?(current_user) @@ -32,7 +35,7 @@ %tr %td= link_to project.name, project_path(project) %td= project.all_users - + = link_to 'Edit', edit_course_assignment_path(id: @assignment.id) = button_to 'Delete', course_assignment_path(id: @assignment.id), :method => :delete, :confirm => 'Are you sure?' = link_to 'Back to Course', course_path(@course) diff --git a/db/development.sqlite3 b/db/development.sqlite3 index b57ff38a7d4ad4f382bb2b2b7e3a201110b2cdd1..cb03ef02247484452822b9f333bf834db2ae9624 100644 GIT binary patch delta 623 zcmZ{g&1(}u7>8$eHr?H7^5(-;5{=zNsT7iBlKn^%tr&`8X=w|kh^;8;y5xf-8=6$` zWFm-HbwPTT9=vH;gdU4R{{aPWy$FKPgD4()bJkom;4nW1=6U$d@b>rl{yzWgY-9}~ z6lIZEFw3py8BJb8*{^}%*Z~TYDuEXuhUQ6ixA&79AIt@WGsz@=Y`X)p3mGNdd)Tql z%7e{-j8fxU=arY^&GxCmL~IFWrd>FvGzY_yBKU8)je~243pgC0IWv z2q-=gM`*>ioc8@2tF!aU?d#>6%Uc`Gx|J3gmE$-yq?Y3}hk&eXZM5p_S*MMVED1=K zSx2{4@A(-z-uAs_SmdCAU=JGX*LPuYfftd4C*tL@G|S2q-}YPU&fl}3CF*aL{#pMg n-rl1HWt_kff*)`UM_#Ib2&Z_SNLUJR1Y=$d5dRQfz3u!4ezcX1 delta 382 zcmZoTz|wGlWrDPz8v_G_5D;?$F(VL%P1G?Kbz{(d#>&ffj6s08oSA%gQn~xlS%*-niL_kLyCxI9>=fvJ_Dp`N*=k%@^3Tn4Dq(8|cb%G6lT*woC# z#Bj5U%{^wZCI$}vTn7HH{4e>h@E_ve%D;p^mw(!3!Guu$$+`ZbYC!LcFcuW$XQd{W z6f=Q%oXI>K%(8GX7JfEn<;g4jV|ZBjXE5+T=0D88o__|=fDZo6Gvadu*ckbDF!1jH k3asPbyrbSnfsH|cfr0<$X2A{b`PqR6vNN)"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (5.0ms) + Rendered shared/_navigation.html.erb (0.7ms) +Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/project/new" for ::1 at 2015-06-08 21:51:08 -0700 +Processing by ProjectController#new as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered project/new.html.haml within layouts/application (9.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 26ms (Views: 25.6ms | ActiveRecord: 0.1ms) + + +Started POST "/project.4" for ::1 at 2015-06-08 21:51:19 -0700 +Processing by ProjectController#create as + Parameters: {"utf8"=>"✓", "authenticity_token"=>"+zAo9AliB2Mk+/s2NwoRH7QvQ56kA9sR7Ap7nZXflGf4GmoaX9bKY3H5el9giOChirBNz509vdVoWlDjLrNAAg==", "project"=>{"name"=>"FIRST", "additional_users"=>"", "description"=>"cooliui", "privacy"=>"Public"}, "commit"=>"Create"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +Unpermitted parameter: additional_users +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "projects" ("name", "description", "privacy") VALUES (?, ?, ?) [["name", "FIRST"], ["description", "cooliui"], ["privacy", "Public"]] + SQL (0.1ms) INSERT INTO "user_projects" ("user_id", "project_id") VALUES (?, ?) [["user_id", 4], ["project_id", 5]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/project/5 +Completed 302 Found in 51ms (ActiveRecord: 1.9ms) + + +Started GET "/project/5" for ::1 at 2015-06-08 21:51:19 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"5"} + Project Load (0.3ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 5]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 5]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 5]] + Rendered project/show.html.haml within layouts/application (26.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 71ms (Views: 41.4ms | ActiveRecord: 1.9ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 21:51:19 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 21:51:19 -0700 + + +Started GET "/users/edit.4" for ::1 at 2015-06-08 21:51:22 -0700 +Processing by Devise::RegistrationsController#edit as + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered devise/registrations/edit.html.erb within layouts/application (23.0ms) + Rendered shared/_navigation.html.erb (0.9ms) +Completed 200 OK in 97ms (Views: 94.0ms | ActiveRecord: 0.1ms) + + +Started GET "/" for ::1 at 2015-06-08 21:51:24 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (4.9ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4" for ::1 at 2015-06-08 21:51:26 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.3ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/courses/enrolled" for ::1 at 2015-06-08 21:51:28 -0700 +Processing by CourseController#enrolled as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_students" ON "courses"."id" = "course_students"."course_id" WHERE "course_students"."user_id" = ? [["user_id", 4]] + Rendered course/index.html.erb within layouts/application (4.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 39ms (Views: 22.8ms | ActiveRecord: 0.7ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 21:51:29 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (7.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 40ms (Views: 28.2ms | ActiveRecord: 0.9ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 21:51:31 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (22.1ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 45ms (Views: 39.1ms | ActiveRecord: 0.9ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 21:51:32 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (11.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 29ms (Views: 25.7ms | ActiveRecord: 0.9ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-08 21:51:37 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"dZ9ky/PkwhcCNo04r+kc0OkCQE1iaSIlNs2kxVhCW512tSYlpVAPF1c0DFH4a+1u151OHFtXROGynY+74y6P+A==", "submition"=>{"project"=>"FIRST"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "FIRST"]] +Completed 500 Internal Server Error in 16ms + +ArgumentError (When assigning attributes, you must pass a hash as an argument.): + app/controllers/assignment_controller.rb:76:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (77.9ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-08 21:52:19 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"dZ9ky/PkwhcCNo04r+kc0OkCQE1iaSIlNs2kxVhCW512tSYlpVAPF1c0DFH4a+1u151OHFtXROGynY+74y6P+A==", "submition"=>{"project"=>"FIRST"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "FIRST"]] +Completed 500 Internal Server Error in 41ms + +NoMethodError (undefined method `first' for #): + app/controllers/assignment_controller.rb:76:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (73.5ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-08 21:53:16 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"dZ9ky/PkwhcCNo04r+kc0OkCQE1iaSIlNs2kxVhCW512tSYlpVAPF1c0DFH4a+1u151OHFtXROGynY+74y6P+A==", "submition"=>{"project"=>"FIRST"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "FIRST"]] +  (0.1ms) begin transaction + SQL (1.0ms) INSERT INTO "projects" ("id", "name", "description", "privacy") VALUES (?, ?, ?, ?) [["id", 5], ["name", "FIRST"], ["description", "cooliui"], ["privacy", "Public"]] +SQLite3::ConstraintException: UNIQUE constraint failed: projects.id: INSERT INTO "projects" ("id", "name", "description", "privacy") VALUES (?, ?, ?, ?) +  (0.1ms) rollback transaction +Completed 500 Internal Server Error in 38ms + +ActiveRecord::RecordNotUnique (SQLite3::ConstraintException: UNIQUE constraint failed: projects.id: INSERT INTO "projects" ("id", "name", "description", "privacy") VALUES (?, ?, ?, ?)): + app/controllers/assignment_controller.rb:76:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (8.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (75.7ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-08 21:57:15 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"dZ9ky/PkwhcCNo04r+kc0OkCQE1iaSIlNs2kxVhCW512tSYlpVAPF1c0DFH4a+1u151OHFtXROGynY+74y6P+A==", "submition"=>{"project"=>"FIRST"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "FIRST"]] +  (0.1ms) begin transaction + SQL (0.8ms) INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?) [["id", 5], ["name", "FIRST"], ["description", "cooliui"], ["privacy", "Public"], ["assignment_id", 3]] +SQLite3::ConstraintException: UNIQUE constraint failed: projects.id: INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?) +  (0.1ms) rollback transaction +Completed 500 Internal Server Error in 46ms + +ActiveRecord::RecordNotUnique (SQLite3::ConstraintException: UNIQUE constraint failed: projects.id: INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?)): + app/controllers/assignment_controller.rb:77:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (3.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (71.7ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-08 21:57:26 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"n01pDIwzaAKJsxJQoy0pc/rLrChq55UuqDaYkaOxstOcZyvi2oelAtyxkzn0r9jNxFSieVPZ8+osZrPvGN1mtg==", "submition"=>{"project"=>"FIRST"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "FIRST"]] +  (0.1ms) begin transaction + SQL (0.9ms) INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?) [["id", 5], ["name", "FIRST"], ["description", "cooliui"], ["privacy", "Public"], ["assignment_id", 3]] +SQLite3::ConstraintException: UNIQUE constraint failed: projects.id: INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?) +  (0.3ms) rollback transaction +Completed 500 Internal Server Error in 9ms + +ActiveRecord::RecordNotUnique (SQLite3::ConstraintException: UNIQUE constraint failed: projects.id: INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?)): + app/controllers/assignment_controller.rb:77:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (7.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (64.1ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-08 21:58:15 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"n01pDIwzaAKJsxJQoy0pc/rLrChq55UuqDaYkaOxstOcZyvi2oelAtyxkzn0r9jNxFSieVPZ8+osZrPvGN1mtg==", "submition"=>{"project"=>"FIRST"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.4ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "FIRST"]] +  (0.2ms) begin transaction + SQL (1.7ms) INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?) [["id", 5], ["name", "FIRST"], ["description", "cooliui"], ["privacy", "Public"], ["assignment_id", 3]] +SQLite3::ConstraintException: UNIQUE constraint failed: projects.id: INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?) +  (0.1ms) rollback transaction +Completed 500 Internal Server Error in 56ms + +ActiveRecord::RecordNotUnique (SQLite3::ConstraintException: UNIQUE constraint failed: projects.id: INSERT INTO "projects" ("id", "name", "description", "privacy", "assignment_id") VALUES (?, ?, ?, ?, ?)): + app/controllers/assignment_controller.rb:78:in `submit' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (65.6ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-08 21:59:43 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"n01pDIwzaAKJsxJQoy0pc/rLrChq55UuqDaYkaOxstOcZyvi2oelAtyxkzn0r9jNxFSieVPZ8+osZrPvGN1mtg==", "submition"=>{"project"=>"FIRST"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "FIRST"]] +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "projects" ("name", "description", "privacy") VALUES (?, ?, ?) [["name", "FIRST"], ["description", "cooliui"], ["privacy", "Public"]] +  (1.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "projects" SET "assignment_id" = ? WHERE "projects"."id" = ? [["assignment_id", 3], ["id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 6]] +  (1.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 5]] +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "user_projects" ("project_id", "user_id") VALUES (?, ?) [["project_id", 6], ["user_id", 4]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 67ms (ActiveRecord: 6.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 21:59:43 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (23.5ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 56ms (Views: 40.1ms | ActiveRecord: 1.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 21:59:44 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 21:59:44 -0700 + + +Started GET "/" for ::1 at 2015-06-08 21:59:48 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4" for ::1 at 2015-06-08 21:59:50 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 21:59:52 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.2ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (5, 6) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (17.1ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 39ms (Views: 36.0ms | ActiveRecord: 0.8ms) + + +Started GET "/project/6" for ::1 at 2015-06-08 22:00:00 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"6"} + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 6]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 6]] + Rendered project/show.html.haml within layouts/application (9.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 31ms (Views: 24.4ms | ActiveRecord: 0.8ms) + + +Started GET "/project/6" for ::1 at 2015-06-08 22:00:03 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"6"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 6]] + Rendered project/show.html.haml within layouts/application (3.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.4ms) + + +Started DELETE "/users/sign_out" for ::1 at 2015-06-08 22:00:08 -0700 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"O9G99s9r+TJcEHagZMlGPuyePpv/kTm9XOJECvox2BM4+/8Ymd80MgkS98kzS7eA0gEwysavX3nYsm90QV0Mdg=="} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 7ms (ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2015-06-08 22:00:08 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.9ms) + Rendered shared/_navigation.html.erb (3.3ms) +Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:00:08 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:00:08 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-08 22:00:10 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (0.9ms) + Rendered shared/_navigation.html.erb (0.2ms) +Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.1ms) + + +Started GET "/user/1/projects" for ::1 at 2015-06-08 22:00:15 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 1]] + Rendered project/index.html.haml within layouts/application (0.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-08 22:00:19 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 25ms (Views: 17.9ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 22:00:20 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + Rendered course/show.html.haml within layouts/application (3.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:00:21 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + Rendered assignment/index.html.haml within layouts/application (3.5ms) + Rendered shared/_navigation.html.erb (0.2ms) +Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:00:22 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + Rendered assignment/show.html.haml within layouts/application (1.3ms) + Rendered shared/_navigation.html.erb (0.2ms) +Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.2ms) + + +Started GET "/users/sign_in" for ::1 at 2015-06-08 22:00:28 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (7.5ms) + Rendered devise/sessions/new.html.erb within layouts/application (19.9ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-08 22:00:32 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"PcphG04xIdCcNfKtrLpxW97BDMJKpIN3b6aLY3Llqh1BgKaAMVs2qqjYm5YI1S2RrETPIVkZHwKf4tK+NRhFVg==", "user"=>{"email"=>"kyle@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "kyle@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-06-08 00:05:11.792444"], ["current_sign_in_at", "2015-06-09 05:00:33.055476"], ["sign_in_count", 5], ["id", 1]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 102ms (ActiveRecord: 1.4ms) + + +Started GET "/" for ::1 at 2015-06-08 22:00:33 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:00:33 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:00:33 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-08 22:00:34 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (2.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-08 22:00:35 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (1.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 22:00:36 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (2.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:00:37 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (3.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:00:40 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Submission Load (0.3ms) SELECT "projects".* FROM "projects" WHERE "projects"."type" IN ('Submission') AND "projects"."assignment_id" = ? [["assignment_id", 3]] + Rendered assignment/show.html.haml within layouts/application (6.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.6ms) + Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + Project Load (0.4ms) SELECT "projects".* FROM "projects" + Project Load (0.3ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 6]] + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_users_on_reset_password_token' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_reset_password_token' AND type='index' + + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:05:39 -0700 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.3ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (53.4ms) +Completed 500 Internal Server Error in 111ms + +ActionView::Template::Error (uninitialized constant Assignment::Submission): + 28: %th Submission + 29: %th User(s) + 30: %tbody + 31: - @assignment.submissions.each do |project| + 32: %tr + 33: %td= link_to project.name, project_path(project) + 34: %td= project.all_users + app/views/assignment/show.html.haml:31:in `_app_views_assignment_show_html_haml___1550057394823868087_70144589647100' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (8.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (4.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (80.9ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 22:09:41 -0700 + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (20.0ms) + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 189ms (Views: 126.5ms | ActiveRecord: 1.7ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:09:41 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:09:41 -0700 + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:09:43 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (18.0ms) + Rendered shared/_navigation.html.erb (0.8ms) +Completed 200 OK in 40ms (Views: 34.7ms | ActiveRecord: 0.9ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:09:44 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (17.5ms) +Completed 500 Internal Server Error in 28ms + +ActionView::Template::Error (uninitialized constant Assignment::Submission): + 28: %th Submission + 29: %th User(s) + 30: %tbody + 31: - @assignment.submissions.each do |project| + 32: %tr + 33: %td= link_to project.name, project_path(project) + 34: %td= project.all_users + app/views/assignment/show.html.haml:31:in `_app_views_assignment_show_html_haml___15323972907775000_70349127289380' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (71.4ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:09:45 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/show.html.haml within layouts/application (14.6ms) +Completed 500 Internal Server Error in 25ms + +ActionView::Template::Error (uninitialized constant Assignment::Submission): + 28: %th Submission + 29: %th User(s) + 30: %tbody + 31: - @assignment.submissions.each do |project| + 32: %tr + 33: %td= link_to project.name, project_path(project) + 34: %td= project.all_users + app/views/assignment/show.html.haml:31:in `_app_views_assignment_show_html_haml___15323972907775000_70349140961580' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (6.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/template_error.html.erb within rescues/layout (65.0ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:09:56 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.4ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."assignment_id" = ? [["assignment_id", 3]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 6]] + Rendered assignment/show.html.haml within layouts/application (36.6ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 72ms (Views: 48.8ms | ActiveRecord: 3.0ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:09:56 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:09:56 -0700 + + +Started GET "/project/6" for ::1 at 2015-06-08 22:10:00 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"6"} + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 6]] + Rendered project/show.html.haml within layouts/application (11.5ms) + Rendered shared/_navigation.html.erb (0.6ms) +Completed 200 OK in 35ms (Views: 29.1ms | ActiveRecord: 0.7ms) + + +Started GET "/user/4" for ::1 at 2015-06-08 22:10:02 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (3.9ms) + Rendered shared/_navigation.html.erb (0.2ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/project/6" for ::1 at 2015-06-08 22:10:14 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"6"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 6]] + Rendered project/show.html.haml within layouts/application (3.6ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.4ms) + + +Started GET "/" for ::1 at 2015-06-08 22:10:22 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (3.5ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1" for ::1 at 2015-06-08 22:13:28 -0700 + +SyntaxError (/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/models/user.rb:51: syntax error, unexpected ',', expecting '}' +...ect| project.privacy=='Public', project.type==''} +... ^): + app/models/user.rb:51: syntax error, unexpected ',', expecting '}' + config/routes.rb:6:in `block in ' + config/routes.rb:1:in `' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (66.9ms) + + +Started GET "/user/1" for ::1 at 2015-06-08 22:13:28 -0700 + +ActionController::RoutingError (No route matches [GET] "/user/1"): + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:22:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (0.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (3.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (2.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.4ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (103.0ms) + + +Started GET "/user/1" for ::1 at 2015-06-08 22:13:28 -0700 + +ActionController::RoutingError (No route matches [GET] "/user/1"): + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:22:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (0.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (81.3ms) + + +Started GET "/user/2" for ::1 at 2015-06-08 22:13:35 -0700 + +ActionController::RoutingError (No route matches [GET] "/user/2"): + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:22:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (0.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (69.3ms) + + +Started GET "/user/2" for ::1 at 2015-06-08 22:13:35 -0700 + +ActionController::RoutingError (No route matches [GET] "/user/2"): + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:22:in `middleware_call' + web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.0) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' + rack (1.6.0) lib/rack/sendfile.rb:113:in `call' + railties (4.2.0) lib/rails/engine.rb:518:in `call' + railties (4.2.0) lib/rails/application.rb:164:in `call' + rack (1.6.0) lib/rack/lock.rb:17:in `call' + rack (1.6.0) lib/rack/content_length.rb:15:in `call' + rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/kylehotchkiss/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (1.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_route.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/routes/_table.html.erb (1.2ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (77.9ms) + + +Started GET "/" for ::1 at 2015-06-08 22:13:50 -0700 +Processing by UserController#index as HTML +Completed 500 Internal Server Error in 5ms + +SyntaxError (/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/models/user.rb:51: syntax error, unexpected ',', expecting '}' +...ect| project.privacy=='Public', project.type==''} +... ^): + app/models/user.rb:51: syntax error, unexpected ',', expecting '}' + app/controllers/user_controller.rb:7:in `index' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (5.3ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (1.0ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (70.3ms) + + +Started GET "/" for ::1 at 2015-06-08 22:13:51 -0700 +Processing by UserController#index as HTML +Completed 500 Internal Server Error in 3ms + +SyntaxError (/Users/kylehotchkiss/Documents/UCB-Snap/Web-backend/app/models/user.rb:51: syntax error, unexpected ',', expecting '}' +...ect| project.privacy=='Public', project.type==''} +... ^): + app/models/user.rb:51: syntax error, unexpected ',', expecting '}' + app/controllers/user_controller.rb:7:in `index' + + + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_source.erb (4.7ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/_web_console.html.erb (0.9ms) + Rendered /Users/kylehotchkiss/.rvm/gems/ruby-2.2.0/gems/web-console-2.0.0/lib/action_dispatch/templates/rescues/diagnostics.html.erb within rescues/layout (68.3ms) + + +Started GET "/" for ::1 at 2015-06-08 22:14:13 -0700 +Processing by UserController#index as HTML + User Load (0.4ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (9.8ms) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (2.0ms) +Completed 200 OK in 34ms (Views: 26.9ms | ActiveRecord: 1.0ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:14:13 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:14:13 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-08 22:14:15 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (1.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4" for ::1 at 2015-06-08 22:14:20 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (1.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 22:14:21 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.3ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (5, 6) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (3.6ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 57ms (Views: 22.8ms | ActiveRecord: 1.3ms) + + +Started DELETE "/users/sign_out" for ::1 at 2015-06-08 22:14:28 -0700 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"BCWPrGNe7AJ4eg8Io8HRyb61zV6aw/l+AGqVwj1r0+ou6X0TfkK5FI9BrYgFuWcAC91HCO0y4N+ChI40k8a1IQ=="} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 17ms (ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2015-06-08 22:14:28 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.6ms) + Rendered shared/_navigation.html.erb (3.6ms) +Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:14:28 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:14:28 -0700 + + +Started GET "/users/sign_in" for ::1 at 2015-06-08 22:14:29 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (7.5ms) + Rendered devise/sessions/new.html.erb within layouts/application (25.5ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 49ms (Views: 48.1ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-08 22:14:34 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"YhkMxHV2mAQ7R+ULZASsfOiOmeSsCFlnB16Q+xc1Xhyi0XppEH1ox1o+q94fEzPwvWthvnKzsIdGcUMtwuEnLQ==", "user"=>{"email"=>"minh@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "minh@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-06-08 00:10:12.320218"], ["current_sign_in_at", "2015-06-09 05:14:34.623920"], ["sign_in_count", 3], ["id", 4]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 101ms (ActiveRecord: 1.4ms) + + +Started GET "/" for ::1 at 2015-06-08 22:14:34 -0700 +Processing by UserController#index as HTML + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.3ms) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (2.3ms) +Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:14:34 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:14:34 -0700 + + +Started GET "/user/4" for ::1 at 2015-06-08 22:14:36 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (1.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 22:14:38 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.2ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (5, 6) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (0.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 14.2ms | ActiveRecord: 0.7ms) + Project Load (0.2ms) SELECT "projects".* FROM "projects" + Submission Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."type" IN ('Submission') +  (0.2ms) begin transaction +  (0.1ms) rollback transaction + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 22:16:14 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.2ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (5, 6) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (2.9ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 62ms (Views: 25.9ms | ActiveRecord: 2.0ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:16:14 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:16:14 -0700 + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 22:16:32 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.2ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (5, 6) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (1.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 62ms (Views: 27.8ms | ActiveRecord: 1.9ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:16:32 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:16:32 -0700 + + +Started GET "/project/6" for ::1 at 2015-06-08 22:16:36 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"6"} + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 6]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 6]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 6]] + Rendered project/show.html.haml within layouts/application (5.9ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 28ms (Views: 20.8ms | ActiveRecord: 0.8ms) + + +Started DELETE "/project/6" for ::1 at 2015-06-08 22:16:38 -0700 +Processing by ProjectController#destroy as HTML + Parameters: {"authenticity_token"=>"eB+IIewb4/XlYEc3yu/97GcLpnLRhXuxpu/F26oOH/vU8NDvMnMYScFN990tSTJggz6s5Z53KWuEM0SQ0yVJCA==", "id"=>"6"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 6]] +  (0.1ms) begin transaction + SQL (0.4ms) DELETE FROM "user_projects" WHERE "user_projects"."project_id" = ? [["project_id", 6]] + SQL (0.1ms) DELETE FROM "projects" WHERE "projects"."id" = ? [["id", 6]] +  (1.2ms) commit transaction + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +Redirected to http://localhost:3000/user/4/projects +Completed 302 Found in 10ms (ActiveRecord: 2.5ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 22:16:38 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.1ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (5) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (1.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 29ms (Views: 21.9ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:16:38 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:16:38 -0700 + + +Started GET "/project/5" for ::1 at 2015-06-08 22:16:42 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"5"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 5]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 5]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 5]] + Rendered project/show.html.haml within layouts/application (3.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.4ms) + + +Started DELETE "/project/5" for ::1 at 2015-06-08 22:16:44 -0700 +Processing by ProjectController#destroy as HTML + Parameters: {"authenticity_token"=>"T7djM5F/ZJJP84iz/uZdFvBCu0b7sStGtJMhCx+q80njWDv9TxefLmveOFkZQJKaFHex0bRDeZyWT6BAZoGlug==", "id"=>"5"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 5]] +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "user_projects" WHERE "user_projects"."project_id" = ? [["project_id", 5]] + SQL (0.1ms) DELETE FROM "projects" WHERE "projects"."id" = ? [["id", 5]] +  (1.3ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +Redirected to http://localhost:3000/user/4/projects +Completed 302 Found in 6ms (ActiveRecord: 1.9ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 22:16:44 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + Rendered project/index.html.haml within layouts/application (0.3ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:16:44 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:16:44 -0700 + + +Started GET "/project/new" for ::1 at 2015-06-08 22:16:52 -0700 +Processing by ProjectController#new as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered project/new.html.haml within layouts/application (7.0ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 25ms (Views: 24.9ms | ActiveRecord: 0.1ms) + + +Started POST "/project.4" for ::1 at 2015-06-08 22:17:02 -0700 +Processing by ProjectController#create as + Parameters: {"utf8"=>"✓", "authenticity_token"=>"vei9YLNrLHLX1OVMc8WquY81Yc8UetQ1Za9EcFSaYhYRB+WubQPXzvP5VaaUY2U1awBrWFuIhu9Hc8U7LbE05Q==", "project"=>{"name"=>"Second", "additional_users"=>"", "description"=>"cool", "privacy"=>"Public"}, "commit"=>"Create"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +Unpermitted parameter: additional_users +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "projects" ("name", "description", "privacy") VALUES (?, ?, ?) [["name", "Second"], ["description", "cool"], ["privacy", "Public"]] + SQL (0.4ms) INSERT INTO "user_projects" ("user_id", "project_id") VALUES (?, ?) [["user_id", 4], ["project_id", 7]] +  (1.0ms) commit transaction +Redirected to http://localhost:3000/project/7 +Completed 302 Found in 16ms (ActiveRecord: 2.0ms) + + +Started GET "/project/7" for ::1 at 2015-06-08 22:17:03 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"7"} + Project Load (0.9ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 7]] + Rendered project/show.html.haml within layouts/application (11.2ms) + Rendered shared/_navigation.html.erb (1.0ms) +Completed 200 OK in 41ms (Views: 30.9ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:17:03 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:17:03 -0700 + + +Started GET "/" for ::1 at 2015-06-08 22:17:04 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.6ms) +Completed 200 OK in 28ms (Views: 27.2ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1" for ::1 at 2015-06-08 22:17:06 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.0ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-08 22:17:07 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Course Load (0.2ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (0.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 42ms (Views: 23.5ms | ActiveRecord: 0.7ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 22:17:07 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered course/show.html.haml within layouts/application (7.5ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 35ms (Views: 25.3ms | ActiveRecord: 0.8ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:17:10 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/index.html.haml within layouts/application (10.5ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 32ms (Views: 26.9ms | ActiveRecord: 0.8ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:17:11 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (4.5ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.2ms | ActiveRecord: 0.6ms) + + +Started POST "/course/1/assignments/3" for ::1 at 2015-06-08 22:17:14 -0700 +Processing by AssignmentController#submit as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"TbEtzRGBOWKxz2Pr6JNEXOjylI2un5XaHzPfsIExY9bhXnUDz+nC3pXi0wEPNYvQDMeeGuFtxwA97177+Bo1JQ==", "submition"=>{"project"=>"Second"}, "commit"=>"Submit from assignment", "course_id"=>"1", "id"=>"3"} + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.3ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? AND "projects"."name" = ? ORDER BY "projects"."id" ASC LIMIT 1 [["user_id", 4], ["name", "Second"]] +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "projects" ("type", "name", "description", "privacy") VALUES (?, ?, ?, ?) [["type", "Submission"], ["name", "Second"], ["description", "cool"], ["privacy", "Public"]] +  (0.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) UPDATE "projects" SET "assignment_id" = ? WHERE "projects"."id" = ? [["assignment_id", 3], ["id", 8]] + User Load (0.0ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 8]] +  (1.2ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 7]] +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "user_projects" ("project_id", "user_id") VALUES (?, ?) [["project_id", 8], ["user_id", 4]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/3 +Completed 302 Found in 19ms (ActiveRecord: 4.3ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:17:14 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 4]] + Rendered assignment/show.html.haml within layouts/application (4.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 15.8ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:17:14 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:17:14 -0700 + + +Started GET "/" for ::1 at 2015-06-08 22:17:16 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.2ms) +Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.3ms) + + +Started GET "/user/4" for ::1 at 2015-06-08 22:17:18 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 22:17:20 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.2ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (7, 8) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (1.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 23ms (Views: 16.9ms | ActiveRecord: 0.7ms) + + +Started DELETE "/users/sign_out" for ::1 at 2015-06-08 22:17:23 -0700 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"cSITozg8+CpRwblfFAFolC1HUlXGspj8kwP+INOaOgTdzUtt5lQDlnXsCbXzp6cYyXJYwolAyiax339rqrFs9w=="} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) begin transaction +  (0.2ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 7ms (ActiveRecord: 0.4ms) + + +Started GET "/" for ::1 at 2015-06-08 22:17:23 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.6ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:17:23 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:17:23 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-08 22:17:25 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (0.9ms) + Rendered shared/_navigation.html.erb (0.2ms) +Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.1ms) + + +Started GET "/users/sign_in" for ::1 at 2015-06-08 22:17:26 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (4.0ms) + Rendered devise/sessions/new.html.erb within layouts/application (11.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 33ms (Views: 32.0ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-08 22:17:33 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"oY+mlAYJXmgmy9ighB5LK0f2dBIDGtSllftxVdDhgnERi1VcRc45oeXrzSln/x+6NjRAmQzsYtbt94B6/AQvHw==", "user"=>{"email"=>"kyle@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "kyle@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-06-09 05:00:33.055476"], ["current_sign_in_at", "2015-06-09 05:17:33.180502"], ["sign_in_count", 6], ["id", 1]] +  (0.7ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 93ms (ActiveRecord: 1.3ms) + + +Started GET "/" for ::1 at 2015-06-08 22:17:33 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.5ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:17:33 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:17:33 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-08 22:17:36 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (2.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-08 22:17:37 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (1.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 22:17:38 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (3.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 16.9ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:17:39 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (4.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:17:40 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."assignment_id" = ? [["assignment_id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 8]] + Rendered assignment/show.html.haml within layouts/application (11.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 1.0ms) + + +Started GET "/project/8" for ::1 at 2015-06-08 22:17:46 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"8"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 8]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 8]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 8]] + Rendered project/show.html.haml within layouts/application (3.5ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 17.1ms | ActiveRecord: 0.4ms) + + +Started DELETE "/users/sign_out" for ::1 at 2015-06-08 22:17:49 -0700 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"W1NDHB5GINRNsNDAlGvde6e1iez07g5m10TKaUUMlqam5QjJo+nIgGdCSEyob6yYP56KxcmEq+ikyqm74tqvkw=="} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 3ms (ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2015-06-08 22:17:50 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.0ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:17:50 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:17:50 -0700 + + +Started GET "/users/sign_in" for ::1 at 2015-06-08 22:17:51 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (3.5ms) + Rendered devise/sessions/new.html.erb within layouts/application (9.5ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 26ms (Views: 25.1ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-08 22:17:57 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"fBXSN/V3XXyt5MMYdjOZv7zQRZIq3udJKJuG6Yl/K3yTyHbi4lDlW8CsE5e5VKwDCeyhe144/JEfhyk/If06dA==", "user"=>{"email"=>"minh@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "minh@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-06-09 05:14:34.623920"], ["current_sign_in_at", "2015-06-09 05:17:57.376535"], ["sign_in_count", 4], ["id", 4]] +  (1.9ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 93ms (ActiveRecord: 2.6ms) + + +Started GET "/" for ::1 at 2015-06-08 22:17:57 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.8ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered shared/_navigation.html.erb (1.4ms) +Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:17:57 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:17:57 -0700 + + +Started GET "/user/4" for ::1 at 2015-06-08 22:17:58 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered user/show.html.haml within layouts/application (2.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.2ms) + + +Started GET "/user/4/projects" for ::1 at 2015-06-08 22:18:00 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"4"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 4]] + HABTM_Users Load (0.2ms) SELECT "user_projects".* FROM "user_projects" WHERE "user_projects"."project_id" IN (7, 8) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) + Rendered project/index.html.haml within layouts/application (1.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 14.3ms | ActiveRecord: 0.6ms) + + +Started GET "/project/7" for ::1 at 2015-06-08 22:18:02 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"7"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 7]] + Rendered project/show.html.haml within layouts/application (3.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.3ms) + + +Started GET "/project/7/edit" for ::1 at 2015-06-08 22:18:03 -0700 +Processing by ProjectController#edit as HTML + Parameters: {"id"=>"7"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] + Rendered project/edit.html.haml within layouts/application (3.8ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.3ms) + + +Started PUT "/project/7" for ::1 at 2015-06-08 22:18:08 -0700 +Processing by ProjectController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"dSAtk0ieHkRjo60Wh6A3nCZ/8QfbpSgdsWBPqB4GO7+kADs6gl7LiXD5LgtBU4Meg3heUluYpgoTEx3X3qSUHw==", "project"=>{"name"=>"Second", "additional_users"=>"", "description"=>"FUCK YEAH", "privacy"=>"Public"}, "commit"=>"Update Project", "id"=>"7"} + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 7]] +Unpermitted parameter: additional_users +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "projects" SET "description" = ? WHERE "projects"."id" = ? [["description", "FUCK YEAH"], ["id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 7]] + SQL (0.2ms) DELETE FROM "user_projects" WHERE "user_projects"."project_id" = ? AND "user_projects"."user_id" = 4 [["project_id", 7]] +  (0.7ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.0ms) begin transaction + SQL (0.4ms) INSERT INTO "user_projects" ("project_id", "user_id") VALUES (?, ?) [["project_id", 7], ["user_id", 4]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/project/7 +Completed 302 Found in 18ms (ActiveRecord: 3.9ms) + + +Started GET "/project/7" for ::1 at 2015-06-08 22:18:08 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"7"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 7]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 7]] + Rendered project/show.html.haml within layouts/application (3.8ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:18:09 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:18:09 -0700 + + +Started DELETE "/users/sign_out" for ::1 at 2015-06-08 22:18:10 -0700 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"NXWbMsCNAH/751hFo7dlmsMvMju8CHZvjLwS9CmojKrkVY2bCk3Vsui921hlRNEYZiidbjw1+Hguz0CL6QojCg=="} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 3ms (ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2015-06-08 22:18:10 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:18:10 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:18:10 -0700 + + +Started GET "/users/sign_in" for ::1 at 2015-06-08 22:18:11 -0700 +Processing by Devise::SessionsController#new as HTML + Rendered devise/shared/_links.html.erb (3.5ms) + Rendered devise/sessions/new.html.erb within layouts/application (9.6ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.0ms) + + +Started POST "/users/sign_in" for ::1 at 2015-06-08 22:18:16 -0700 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"pN/S6fnA3j3Iqd4PVeIqRkKmbxOsAhWmwvHKAwTSOKVFGFf7jB1vb4U8vrLg0t6VseuLTkFJDgSqYomk6jWP2w==", "user"=>{"email"=>"kyle@berkeley.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "kyle@berkeley.edu"]] +  (0.1ms) begin transaction + SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-06-09 05:17:33.180502"], ["current_sign_in_at", "2015-06-09 05:18:16.436669"], ["sign_in_count", 7], ["id", 1]] +  (0.8ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 91ms (ActiveRecord: 1.2ms) + + +Started GET "/" for ::1 at 2015-06-08 22:18:16 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.5ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.0ms) +Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:18:16 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:18:16 -0700 + + +Started GET "/user/1" for ::1 at 2015-06-08 22:18:18 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (2.0ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-08 22:18:24 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (1.0ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 22:18:25 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (3.2ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:18:27 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (4.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment/3" for ::1 at 2015-06-08 22:18:28 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"3"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."assignment_id" = ? [["assignment_id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 2]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 4]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 8]] + Rendered assignment/show.html.haml within layouts/application (8.9ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.9ms) + + +Started GET "/project/8" for ::1 at 2015-06-08 22:18:30 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"8"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 8]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 8]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 8]] + Rendered project/show.html.haml within layouts/application (3.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-08 22:21:32 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (8.3ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 28ms (Views: 27.3ms | ActiveRecord: 0.2ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-08 22:21:42 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ozw5eNphTXmJOu+vJCNOJKkslfZQUkk+UsxYrLkgg6FIJSWwOeDKjfD6OUyYyFR/DEn1EcF5JQxWF/0/Jz67BA==", "assignment"=>{"title"=>"Fuck", "description"=>"cool", "template"=>"shit", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"9", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"9"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", "shit"]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment/new +Completed 302 Found in 6ms (ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-08 22:21:42 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (6.3ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.6ms) +Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:21:42 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:21:42 -0700 + + +Started GET "/" for ::1 at 2015-06-08 22:21:49 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.1ms) +Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1" for ::1 at 2015-06-08 22:21:50 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (2.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/projects" for ::1 at 2015-06-08 22:21:51 -0700 +Processing by ProjectController#index as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" INNER JOIN "user_projects" ON "projects"."id" = "user_projects"."project_id" WHERE "user_projects"."user_id" = ? [["user_id", 1]] + Rendered project/index.html.haml within layouts/application (0.4ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 28ms (Views: 17.9ms | ActiveRecord: 0.4ms) + + +Started GET "/project/new" for ::1 at 2015-06-08 22:21:52 -0700 +Processing by ProjectController#new as HTML + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered project/new.html.haml within layouts/application (3.7ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.2ms) + + +Started POST "/project.1" for ::1 at 2015-06-08 22:21:59 -0700 +Processing by ProjectController#create as + Parameters: {"utf8"=>"✓", "authenticity_token"=>"zZ+v0JLzYIXWiph/aQEDCwZFOA9sWsSNwCSUhaFyPtK+hrMYcXLnca9KTpzV6hlQoyBY6P1xqL/E/zEWP2wGdw==", "project"=>{"name"=>"shit", "additional_users"=>"", "description"=>"shit", "privacy"=>"Public"}, "commit"=>"Create"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +Unpermitted parameter: additional_users +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "projects" ("name", "description", "privacy") VALUES (?, ?, ?) [["name", "shit"], ["description", "shit"], ["privacy", "Public"]] + SQL (0.3ms) INSERT INTO "user_projects" ("user_id", "project_id") VALUES (?, ?) [["user_id", 1], ["project_id", 9]] +  (0.8ms) commit transaction +Redirected to http://localhost:3000/project/9 +Completed 302 Found in 10ms (ActiveRecord: 1.6ms) + + +Started GET "/project/9" for ::1 at 2015-06-08 22:21:59 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"9"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 9]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 9]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 9]] + Rendered project/show.html.haml within layouts/application (4.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:21:59 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:21:59 -0700 + + +Started GET "/" for ::1 at 2015-06-08 22:22:02 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (1.7ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.3ms) + + +Started GET "/user/1" for ::1 at 2015-06-08 22:22:03 -0700 +Processing by UserController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered user/show.html.haml within layouts/application (2.4ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.2ms) + + +Started GET "/user/1/courses/teaching" for ::1 at 2015-06-08 22:22:07 -0700 +Processing by CourseController#taught as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Course Load (0.1ms) SELECT "courses".* FROM "courses" INNER JOIN "course_teachers" ON "courses"."id" = "course_teachers"."course_id" WHERE "course_teachers"."user_id" = ? [["user_id", 1]] + Rendered course/index.html.erb within layouts/application (1.0ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.3ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 22:22:08 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (3.3ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 18.2ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:22:13 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.2ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (4.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment/new" for ::1 at 2015-06-08 22:22:13 -0700 +Processing by AssignmentController#new as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Rendered assignment/new.html.haml within layouts/application (4.6ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.3ms) +Completed 200 OK in 23ms (Views: 22.0ms | ActiveRecord: 0.2ms) + + +Started POST "/course/1/assignment" for ::1 at 2015-06-08 22:22:23 -0700 +Processing by AssignmentController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0P4Dh3BkrIXI4sJeLHmUAJmfb0NXJQTKFb1hDx40uzOj5x9Pk+UrcbEiFL2Qko5bPPoPpMYOaPgRZsScgCqDlg==", "assignment"=>{"title"=>"Cool shit", "description"=>"coolio", "template"=>"shit", "start_time(1i)"=>"2015", "start_time(2i)"=>"6", "start_time(3i)"=>"9", "deadline(1i)"=>"2015", "deadline(2i)"=>"6", "deadline(3i)"=>"9"}, "commit"=>"Create Assignment", "course_id"=>"1"} + Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] +Unpermitted parameter: template + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = ? LIMIT 1 [["name", "shit"]] +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "assignments" ("title", "description", "start_time", "deadline", "course_id", "template_id") VALUES (?, ?, ?, ?, ?, ?) [["title", "Cool shit"], ["description", "coolio"], ["start_time", "2015-06-09 00:00:00.000000"], ["deadline", "2015-06-09 00:00:00.000000"], ["course_id", 1], ["template_id", 9]] +  (0.6ms) commit transaction +Redirected to http://localhost:3000/course/1/assignment +Completed 302 Found in 7ms (ActiveRecord: 1.3ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:22:23 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (8.4ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:22:23 -0700 + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:22:23 -0700 + + +Started GET "/course/1/assignment/4" for ::1 at 2015-06-08 22:22:25 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"4"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 4]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."assignment_id" = ? [["assignment_id", 4]] + Rendered assignment/show.html.haml within layouts/application (4.2ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment/4" for ::1 at 2015-06-08 22:24:21 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"4"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 4]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 9]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."assignment_id" = ? [["assignment_id", 4]] + Rendered assignment/show.html.haml within layouts/application (8.7ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/application-ae783c9dccb2378165cdcab35299d4d5.js" for ::1 at 2015-06-08 22:24:21 -0700 + + +Started GET "/assets/app-745080558c26ece7855bb9455e5d9b21.css" for ::1 at 2015-06-08 22:24:21 -0700 + + +Started GET "/project/9" for ::1 at 2015-06-08 22:24:22 -0700 +Processing by ProjectController#show as HTML + Parameters: {"id"=>"9"} + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 9]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "user_projects" ON "users"."id" = "user_projects"."user_id" WHERE "user_projects"."project_id" = ? [["project_id", 9]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."project_id" = ? [["project_id", 9]] + Rendered project/show.html.haml within layouts/application (3.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.4ms) + + +Started GET "/course/1/assignment" for ::1 at 2015-06-08 22:24:28 -0700 +Processing by AssignmentController#index as HTML + Parameters: {"course_id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Rendered assignment/index.html.haml within layouts/application (5.1ms) + Rendered shared/_navigation.html.erb (0.5ms) +Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1/assignment/4" for ::1 at 2015-06-08 22:24:29 -0700 +Processing by AssignmentController#show as HTML + Parameters: {"course_id"=>"1", "id"=>"4"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" WHERE "assignments"."id" = ? LIMIT 1 [["id", 4]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 9]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + User Exists (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? AND "users"."id" = ? [["course_id", 1], ["id", 1]] + Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."assignment_id" = ? [["assignment_id", 4]] + Rendered assignment/show.html.haml within layouts/application (7.8ms) + Rendered shared/_navigation.html.erb (0.4ms) +Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.5ms) + + +Started GET "/course/1" for ::1 at 2015-06-08 22:24:31 -0700 +Processing by CourseController#show as HTML + Parameters: {"id"=>"1"} + Course Load (0.1ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_teachers" ON "users"."id" = "course_teachers"."user_id" WHERE "course_teachers"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "course_students" ON "users"."id" = "course_students"."user_id" WHERE "course_students"."course_id" = ? [["course_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered course/show.html.haml within layouts/application (3.1ms) + Rendered shared/_navigation.html.erb (0.3ms) +Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.4ms) + + +Started GET "/" for ::1 at 2015-06-08 22:24:32 -0700 +Processing by UserController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered user/index.html.haml within layouts/application (2.7ms) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] + Rendered shared/_navigation.html.erb (1.7ms) +Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.4ms)