Created
September 2, 2012 01:09
-
-
Save JFickel/3593075 to your computer and use it in GitHub Desktop.
server log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started DELETE "/teams/1" for 127.0.0.1 at 2012-09-01 20:04:10 -0500 | |
Processing by TeamsController#destroy as HTML | |
Parameters: {"id"=>"1"} | |
WARNING: Can't verify CSRF token authenticity | |
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 | |
Team Load (0.1ms) SELECT "teams".* FROM "teams" WHERE "teams"."id" = ? LIMIT 1 [["id", "1"]] | |
Completed 500 Internal Server Error in 2ms | |
RuntimeError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id): | |
app/controllers/application_controller.rb:20:in `redirect_if_not_team_admin' | |
app/controllers/teams_controller.rb:4:in `block in <class:TeamsController>' | |
Rendered /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) | |
Rendered /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) | |
Rendered /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.2ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment