aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDaniel Carral <dcarral@babbel.com>2016-11-29 18:27:17 +0100
committerDaniel Carral <dcarral@babbel.com>2016-11-29 20:05:15 +0100
commitfe7394afe702eeae6e5d2c4c64e99e74f4afb382 (patch)
tree609079783bbd3e1e419d7fa71751840317b189aa /actionpack
parent4806317b65314c28a2608fc4e55fb0a160db2b7d (diff)
downloadrails-fe7394afe702eeae6e5d2c4c64e99e74f4afb382.tar.gz
rails-fe7394afe702eeae6e5d2c4c64e99e74f4afb382.tar.bz2
rails-fe7394afe702eeae6e5d2c4c64e99e74f4afb382.zip
Document 'false' as option for 'action_on_unpermitted_parameters'
[ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/strong_parameters.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index e14da22e01..acfeca1fcb 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -71,8 +71,8 @@ module ActionController
# * +permit_all_parameters+ - If it's +true+, all the parameters will be
# permitted by default. The default is +false+.
# * +action_on_unpermitted_parameters+ - Allow to control the behavior when parameters
- # that are not explicitly permitted are found. The values can be <tt>:log</tt> to
- # write a message on the logger or <tt>:raise</tt> to raise
+ # that are not explicitly permitted are found. The values can be +false+ to just filter them
+ # out, <tt>:log</tt> to additionally write a message on the logger, or <tt>:raise</tt> to raise
# ActionController::UnpermittedParameters exception. The default value is <tt>:log</tt>
# in test and development environments, +false+ otherwise.
#