Browse files

Document new configuration option action_controller.raise_on_unexpect…

  • Loading branch information...
1 parent c91a7db commit bd104bf5ca4c756f2c94b7a9f1107a3b8e300490 @thomasfedb thomasfedb committed Jan 5, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 guides/source/
@@ -304,6 +304,8 @@ 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_unexpected_params` enables raising an exception if paramets that are not explicitly permitted are found. The default value is `true` in development and test environments, `false` otherwise.
### 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.

0 comments on commit bd104bf

Please sign in to comment.