mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixes incorrect spelling of action_on_unpermitted_parameters
See `actionpack/test/controller/parameters/raise_on_unpermitted_params_test.rb`
This commit is contained in:
parent
37c721aa83
commit
6fae1efc59
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ The schema dumper adds one additional configuration option:
|
||||||
|
|
||||||
* `config.action_controller.permit_all_parameters` sets all the parameters for mass assignment to be permitted by default. The default value is `false`.
|
* `config.action_controller.permit_all_parameters` sets all the parameters for mass assignment to be permitted by default. The default value is `false`.
|
||||||
|
|
||||||
* `config.action_controller.action_on_unpermitted_params` enables logging or raising an exception if parameters that are not explicitly permitted are found. Set to `:log` or `:raise` to enable. The default value is `:log` in development and test environments, and `false` in all other environments.
|
* `config.action_controller.action_on_unpermitted_parameters` enables logging or raising an exception if parameters that are not explicitly permitted are found. Set to `:log` or `:raise` to enable. The default value is `:log` in development and test environments, and `false` in all other environments.
|
||||||
|
|
||||||
### Configuring Action Dispatch
|
### Configuring Action Dispatch
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue