diff options
author | Mina Slater <slater.mina@gmail.com> | 2018-08-21 21:36:40 -0500 |
---|---|---|
committer | Mina Slater <slater.mina@gmail.com> | 2018-08-21 21:36:40 -0500 |
commit | 44da9eb3b919b10699c803f17295c39da5ab7523 (patch) | |
tree | 4684f13a95bd79007c426ddf82f671fa8055a862 /guides/source/form_helpers.md | |
parent | c658c134b738357430e78bdd7eff2f3308540ad9 (diff) | |
download | rails-44da9eb3b919b10699c803f17295c39da5ab7523.tar.gz rails-44da9eb3b919b10699c803f17295c39da5ab7523.tar.bz2 rails-44da9eb3b919b10699c803f17295c39da5ab7523.zip |
[ci skip] change all instances of blacklist and whitelist to denylist and allowlist
Diffstat (limited to 'guides/source/form_helpers.md')
-rw-r--r-- | guides/source/form_helpers.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md index a4f7e6f601..86d0e6b18b 100644 --- a/guides/source/form_helpers.md +++ b/guides/source/form_helpers.md @@ -953,7 +953,7 @@ If the associated object is already saved, `fields_for` autogenerates a hidden i ### The Controller As usual you need to -[whitelist the parameters](action_controller_overview.html#strong-parameters) in +[allowlist the parameters](action_controller_overview.html#strong-parameters) in the controller before you pass them to the model: ```ruby @@ -999,7 +999,7 @@ remove addresses: <% end %> ``` -Don't forget to update the whitelisted params in your controller to also include +Don't forget to update the allowlisted params in your controller to also include the `_destroy` field: ```ruby |