aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-04-20 10:20:02 +0900
committerGitHub <noreply@github.com>2018-04-20 10:20:02 +0900
commit78ff47f3e77925f72d98579da6feb68f36052ad8 (patch)
tree115a0699471d63f7b06c5672bfceadf66a06ad68
parentdaffe03308bffc43ea343a886aab33082d83bb9c (diff)
parent888dda875bfa210c436aff946dff487c7a5304a3 (diff)
downloadrails-78ff47f3e77925f72d98579da6feb68f36052ad8.tar.gz
rails-78ff47f3e77925f72d98579da6feb68f36052ad8.tar.bz2
rails-78ff47f3e77925f72d98579da6feb68f36052ad8.zip
Merge pull request #32652 from bogdanvlviv/add-missing-changelog-for-32593
Add missing changelog entry [ci skip]
-rw-r--r--actionpack/CHANGELOG.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index a370c3fc99..e51b19b6d0 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,15 @@
+* Fix strong parameters `permit!` with nested arrays.
+
+ Given:
+ ```
+ params = ActionController::Parameters.new(nested_arrays: [[{ x: 2, y: 3 }, { x: 21, y: 42 }]])
+ params.permit!
+ ```
+
+ `params[:nested_arrays][0][0].permitted?` will now return `true` instead of `false`.
+
+ *Steve Hull*
+
* Output only one Content-Security-Policy nonce header value per request.
Fixes #32597.