aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-10-05 17:26:16 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-10-05 17:26:16 -0500
commit2154215940f8400ed85ffe988de89e12da2cce4a (patch)
tree571f8d09fc23780a951aeb51bb714a8657353e80 /guides/source/configuring.md
parent4b3377ca5bc181bb8a153c1e4d86b1b1fc968032 (diff)
downloadrails-2154215940f8400ed85ffe988de89e12da2cce4a.tar.gz
rails-2154215940f8400ed85ffe988de89e12da2cce4a.tar.bz2
rails-2154215940f8400ed85ffe988de89e12da2cce4a.zip
add AC::Parameters#permit_all_parameters config option [ci skip]
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r--guides/source/configuring.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index bf47206f71..2131a6c6a8 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -310,10 +310,12 @@ The schema dumper adds one additional configuration option:
* `config.action_controller.request_forgery_protection_token` sets the token parameter name for RequestForgery. Calling `protect_from_forgery` sets it to `:authenticity_token` by default.
-* `config.action_controller.allow_forgery_protection` enables or disables CSRF protection. By default this is false in test mode and true in all other modes.
+* `config.action_controller.allow_forgery_protection` enables or disables CSRF protection. By default this is `false` in test mode and `true` in all other modes.
* `config.action_controller.relative_url_root` can be used to tell Rails that you are deploying to a subdirectory. The default is `ENV['RAILS_RELATIVE_URL_ROOT']`.
+* `config.action_controller.permit_all_parameters` sets all the parameters for mass assignment to be permitted by default. The default value is `false`.
+
### Configuring Action Dispatch
* `config.action_dispatch.session_store` sets the name of the store for session data. The default is `:cookie_store`; other valid options include `:active_record_store`, `:mem_cache_store` or the name of your own custom class.