aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2017-03-04 18:15:38 +0100
committerGitHub <noreply@github.com>2017-03-04 18:15:38 +0100
commitd7075e0b1bcfdfef09f1bf7ca6d89384b8c46c86 (patch)
tree06a46d7ec497c9f1a8c08641bd514c286c548dbd /actionpack
parent9852b5acd507842069dab9dae2bd827c4233a09e (diff)
parent609bf1ac8fdce4eb245578575da5f95be4424511 (diff)
downloadrails-d7075e0b1bcfdfef09f1bf7ca6d89384b8c46c86.tar.gz
rails-d7075e0b1bcfdfef09f1bf7ca6d89384b8c46c86.tar.bz2
rails-d7075e0b1bcfdfef09f1bf7ca6d89384b8c46c86.zip
Merge pull request #28288 from tejasbubane/fix-parameter-missing-doc
[ci skip] Fix ParameterMissing exception name in docs
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/strong_parameters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index d304dcf468..3b293baa73 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -862,7 +862,7 @@ module ActionController
# end
#
# # This will pass with flying colors as long as there's a person key in the
- # # parameters, otherwise it'll raise an ActionController::MissingParameter
+ # # parameters, otherwise it'll raise an ActionController::ParameterMissing
# # exception, which will get caught by ActionController::Base and turned
# # into a 400 Bad Request reply.
# def update