Permalink
Browse files

Fix guides error on error class name

The error that's raised in case the required key is missing it's actually `ActionController::ParameterMissing` not `ActionController::MissingParameter`. It's important to fix so that people reading the guides knows what error to rescue from when needed.
  • Loading branch information...
sebasoga committed Mar 19, 2013
1 parent 0fe4ae9 commit acd525517c982835c4ca1cea01bf8c299381bf56
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/action_controller_overview.md
@@ -194,7 +194,7 @@ class PeopleController < ActionController::Base
# This will pass with flying colors as long as there's a person key
# in the parameters, otherwise it'll raise a
- # ActionController::MissingParameter exception, which will get
+ # ActionController::ParameterMissing exception, which will get
# caught by ActionController::Base and turned into that 400 Bad
# Request reply.
def update

0 comments on commit acd5255

Please sign in to comment.