From e1dd403972f1f7c184fb92e4414cbe9453a4d91c Mon Sep 17 00:00:00 2001 From: Christoph Lupprich Date: Fri, 2 Dec 2016 11:19:04 +0100 Subject: [PATCH] Document third setting for `action_on_unpermitted_parameters` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 147d94d..62d0343 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ params.require(:post).permit(:title) By default parameter keys that are not explicitly permitted will be logged in the development and test environment. In other environments these parameters will simply be filtered out and ignored. -Additionally, this behaviour can be changed by changing the `config.action_controller.action_on_unpermitted_parameters` property in your environment files. If set to `:log` the unpermitted attributes will be logged, if set to `:raise` an exception will be raised. +This behaviour can be changed by changing the `config.action_controller.action_on_unpermitted_parameters` property in your environment files. If set to `:log` the unpermitted attributes will be logged, if set to `:raise` an exception will be raised, and if set to `false` unpermitted attributes will be filtered out and ignored. ## Use Outside of Controllers