diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-23 15:59:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 15:59:43 +0900 |
commit | 2477e1b5aa66e8308244af17abf56474d4266536 (patch) | |
tree | 1d4162b9bc0bc150d8b0ef505323fe8c295cd8b6 /actionpack/lib/action_controller/metal | |
parent | 55a443b847ccf37aa8fb62fbc827f5b540980dd9 (diff) | |
parent | 8a11fabee48290c2c5c7d0a0531f1b3c00c3cf06 (diff) | |
download | rails-2477e1b5aa66e8308244af17abf56474d4266536.tar.gz rails-2477e1b5aa66e8308244af17abf56474d4266536.tar.bz2 rails-2477e1b5aa66e8308244af17abf56474d4266536.zip |
Merge pull request #29544 from y-yagi/fix_ac_unfiltered_parameters_msg
Fix typo in `AC::UnfilteredParameters` message [ci skip]
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index 4a60e2eff2..cd6a0c0b98 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -245,7 +245,7 @@ module ActionController # oddity: "Heavy stone crab" # }) # params.to_h - # # => ActionController::UnfilteredParameters: unable to convert unfiltered parameters to hash + # # => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash # # safe_params = params.permit(:name) # safe_params.to_h # => {"name"=>"Senjougahara Hitagi"} @@ -265,7 +265,7 @@ module ActionController # oddity: "Heavy stone crab" # }) # params.to_hash - # # => ActionController::UnfilteredParameters: unable to convert unfiltered parameters to hash + # # => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash # # safe_params = params.permit(:name) # safe_params.to_hash # => {"name"=>"Senjougahara Hitagi"} |