1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix keys for unpermitted_parameters logging [ci skip]

7893428113/actionpack/lib/action_controller/metal/strong_parameters.rb (L973-L974)

Originally discovered by @hidr0:
https://github.com/rails/rails/pull/41809/files#r653271964
This commit is contained in:
Zachary Scott 2021-06-17 19:29:48 +09:00
parent abfd2cc7a6
commit fe1cb68a3f

View file

@ -282,7 +282,7 @@ INFO. Additional keys may be added by the caller.
| Key | Value |
| ------------- | --------------------------------------------------------------------- |
| `:key` | The unpermitted keys |
| `:keys` | The unpermitted keys |
| `:context` | Hash with the following keys: :controller, :action, :params, :request |
Action Dispatch