Permalink
Browse files

Wrong copy and paste 💣

[ci skip]
  • Loading branch information...
rafaelfranca committed Jan 5, 2013
1 parent beda9c5 commit 18ac587cd8ebd260d7fb076a26fff62b7f8ef7e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -84,7 +84,7 @@ def initialize(params)
#
# 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

0 comments on commit 18ac587

Please sign in to comment.