Skip to content

Commit

Permalink
Rename raise_on_unexpected_params to raise_on_unpermitted_parameters …
Browse files Browse the repository at this point in the history
…on the guides
  • Loading branch information
rafaelfranca committed Jan 5, 2013
1 parent cd1757e commit a135f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_unexpected_params` 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.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.

### Configuring Action Dispatch

Expand Down

0 comments on commit a135f37

Please sign in to comment.