[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.
上级 145adda5
...@@ -862,7 +862,7 @@ def initialize_copy(source) ...@@ -862,7 +862,7 @@ def initialize_copy(source)
# end # end
# #
# # This will pass with flying colors as long as there's a person key in the # # 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 # # exception, which will get caught by ActionController::Base and turned
# # into a 400 Bad Request reply. # # into a 400 Bad Request reply.
# def update # def update
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册