1
0
Fork 0
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:
Rafael Mendonça França 2013-01-05 07:01:51 -03:00
parent beda9c5bdf
commit 18ac587cd8

View file

@ -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