diff options
author | Tejas Bubane <tejasbubane@gmail.com> | 2017-03-04 21:23:14 +0530 |
---|---|---|
committer | Tejas Bubane <tejasbubane@gmail.com> | 2017-03-04 21:30:18 +0530 |
commit | 609bf1ac8fdce4eb245578575da5f95be4424511 (patch) | |
tree | 97f68c4104bb3c5e6e495c0ff6c11bdbb1dcd83e /actionpack/lib/action_controller | |
parent | 145adda5815e910df09af107e9ff97467799e853 (diff) | |
download | rails-609bf1ac8fdce4eb245578575da5f95be4424511.tar.gz rails-609bf1ac8fdce4eb245578575da5f95be4424511.tar.bz2 rails-609bf1ac8fdce4eb245578575da5f95be4424511.zip |
[ci skip] Fix ParameterMissing exception name in docs
Should be `ActionController::ParameterMissing` and not
`ActionController::MissingParameter`.
Corresponding change was done in guides in
https://github.com/rails/rails/pull/9816.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 2 |
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 |