diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-06-23 15:31:31 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-06-23 15:34:40 +0900 |
commit | 8a11fabee48290c2c5c7d0a0531f1b3c00c3cf06 (patch) | |
tree | 1d4162b9bc0bc150d8b0ef505323fe8c295cd8b6 /actionpack/lib/action_controller | |
parent | 55a443b847ccf37aa8fb62fbc827f5b540980dd9 (diff) | |
download | rails-8a11fabee48290c2c5c7d0a0531f1b3c00c3cf06.tar.gz rails-8a11fabee48290c2c5c7d0a0531f1b3c00c3cf06.tar.bz2 rails-8a11fabee48290c2c5c7d0a0531f1b3c00c3cf06.zip |
Fix typo in `AC::UnfilteredParameters` message [ci skip]
Ref: https://github.com/rails/rails/blob/33b596709388cc48d90ab6d1de99d7bd6e85f916/actionpack/lib/action_controller/metal/strong_parameters.rb#L52..L56
Diffstat (limited to 'actionpack/lib/action_controller')
-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"} |