aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authorThomas Drake-Brockman <thom@sfedb.com>2013-01-20 00:23:55 +0800
committerThomas Drake-Brockman <thom@sfedb.com>2013-01-20 00:23:55 +0800
commit46752092ef222d8ae5c1e314f18aefab8a167c05 (patch)
tree087b4c2173a140e9ef3a01e8b48ea80089486ed9 /guides/source/configuring.md
parentb8ef4f05fbbc87e8f2e467b4378585cf1ce83696 (diff)
downloadrails-46752092ef222d8ae5c1e314f18aefab8a167c05.tar.gz
rails-46752092ef222d8ae5c1e314f18aefab8a167c05.tar.bz2
rails-46752092ef222d8ae5c1e314f18aefab8a167c05.zip
Replaced documentation for config.action_controller.raise_on_unpermitted_parameters with documentation for config.action_controller.action_on_unpermitted_params.
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r--guides/source/configuring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index ced04bbbc0..676458f046 100644
--- a/guides/source/configuring.md
+++ b/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