Skip to content

Instantly share code, notes, and snippets.

@samuelkobe
Created September 17, 2012 23:01
Show Gist options
  • Save samuelkobe/3740306 to your computer and use it in GitHub Desktop.
Save samuelkobe/3740306 to your computer and use it in GitHub Desktop.
Started POST "/hairstyles/vote" for 127.0.0.1 at 2012-09-17 16:00:51 -0700
Processing by HairstylesController#vote as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"t/Km9bYCNZWFcebozXqmVB2Gpta1C8W07l0kqkiLjS0=", "hairstyle"=>"6", "commit"=>"Vote"}
Hairstyle Load (0.2ms) SELECT "hairstyles".* FROM "hairstyles" WHERE "hairstyles"."id" = ? LIMIT 1 [["id", "6"]]
Redirected to http://hairapp.dev/hairstyles/vote?hairstyle=6
Filter chain halted as :ip_check rendered or redirected
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
Started GET "/hairstyles/vote?hairstyle=6" for 127.0.0.1 at 2012-09-17 16:00:51 -0700
Processing by HairstylesController#show as HTML
Parameters: {"hairstyle"=>"6", "id"=>"vote"}
Hairstyle Load (0.1ms) SELECT "hairstyles".* FROM "hairstyles" WHERE "hairstyles"."id" = ? LIMIT 1 [["id", "vote"]]
Completed 500 Internal Server Error in 1ms
ActiveRecord::RecordNotFound (Couldn't find Hairstyle with id=vote):
app/controllers/hairstyles_controller.rb:19:in `show'
Rendered /Users/samuelkobe/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/samuelkobe/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /Users/samuelkobe/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.4ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment