aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_controller_overview.md
diff options
context:
space:
mode:
authorSebastian Sogamoso <sebasoga@gmail.com>2013-03-19 17:38:01 -0500
committerSebastian Sogamoso <sebasoga@gmail.com>2013-03-19 17:38:01 -0500
commitacd525517c982835c4ca1cea01bf8c299381bf56 (patch)
treec4d334b194e59e88e088b3d269c785523437a4c3 /guides/source/action_controller_overview.md
parent0fe4ae93b4f902ac5757304e015c415bf986a0d0 (diff)
downloadrails-acd525517c982835c4ca1cea01bf8c299381bf56.tar.gz
rails-acd525517c982835c4ca1cea01bf8c299381bf56.tar.bz2
rails-acd525517c982835c4ca1cea01bf8c299381bf56.zip
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.
Diffstat (limited to 'guides/source/action_controller_overview.md')
-rw-r--r--guides/source/action_controller_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index 7e0a8a43d4..e01d0d57ea 100644
--- a/guides/source/action_controller_overview.md
+++ b/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