Skip to content

Instantly share code, notes, and snippets.

@dylanerichards
Created January 8, 2014 14:15
Show Gist options
  • Save dylanerichards/8317348 to your computer and use it in GitHub Desktop.
Save dylanerichards/8317348 to your computer and use it in GitHub Desktop.
Logs
Started POST "/guides/2-sdkfjsk/comments" for 127.0.0.1 at 2014-01-08 09:14:59 -0500
Processing by CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"D2BvBIgU+tniZvr2NgQE/TpHY6J2xHOUm701jqTcJ9A=", "comment"=>{"body"=>"", "user_id"=>"some value"}, "{:id=>\"comments_guide_id\", :name=>\"comments"=>{"guide_id"=>{"\", :value=>2}"=>""}}, "commit"=>"Create Comment", "guide_id"=>"2-sdkfjsk"}
Completed 500 Internal Server Error in 1ms
NoMethodError (undefined method `[]=' for nil:NilClass):
app/controllers/comments_controller.rb:27:in `create'
Rendered /Users/DylanRichards/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
Rendered /Users/DylanRichards/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
Rendered /Users/DylanRichards/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
Rendered /Users/DylanRichards/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment