Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Mar 19, 2013
@sebasoga sebasoga 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.
acd5255
@guilleiguaran guilleiguaran Merge pull request #9816 from sebasoga/strong_parameters_guide_fix
Fix guides error on error class name
c08e6e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/action_controller_overview.md
View
2 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

No commit comments for this range

Something went wrong with that request. Please try again.