diff options
author | Sebastian Sogamoso <sebasoga@gmail.com> | 2013-03-19 17:38:01 -0500 |
---|---|---|
committer | Sebastian Sogamoso <sebasoga@gmail.com> | 2013-03-19 17:38:01 -0500 |
commit | acd525517c982835c4ca1cea01bf8c299381bf56 (patch) | |
tree | c4d334b194e59e88e088b3d269c785523437a4c3 /guides/source | |
parent | 0fe4ae93b4f902ac5757304e015c415bf986a0d0 (diff) | |
download | rails-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')
-rw-r--r-- | guides/source/action_controller_overview.md | 2 |
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 |