Skip to content
Browse files

Replaced documentation for config.action_controller.raise_on_unpermit…

…ted_parameters with documentation for config.action_controller.action_on_unpermitted_params.
  • Loading branch information...
1 parent b8ef4f0 commit 46752092ef222d8ae5c1e314f18aefab8a167c05 @thomasfedb thomasfedb committed Jan 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/configuring.md
View
2 guides/source/configuring.md
@@ -304,7 +304,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.raise_on_unpermitted_parameters` enables raising an exception if parameters that are not explicitly permitted are found. The default value is `true` in development and test environments, `false` otherwise.
+* `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.
### Configuring Action Dispatch

0 comments on commit 4675209

Please sign in to comment.
Something went wrong with that request. Please try again.