mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Wrong copy and paste 💣
[ci skip]
This commit is contained in:
parent
beda9c5bdf
commit
18ac587cd8
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ module ActionController
|
|||
#
|
||||
# params = ActionController::Parameters.new(a: "123", b: "456")
|
||||
# params.permit(:c)
|
||||
# # => ActionController::ForbiddenParameters: found forbidden keys: a, b
|
||||
# # => ActionController::UnpermittedParameters: found unpermitted keys: a, b
|
||||
#
|
||||
# <tt>ActionController::Parameters</tt> is inherited from
|
||||
# <tt>ActiveSupport::HashWithIndifferentAccess</tt>, this means
|
||||
|
|
Loading…
Reference in a new issue