diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-08 14:37:15 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-08 14:37:15 -0200 |
commit | f8ca941f4a0a5a6115a05d06646a6411ebe5aa44 (patch) | |
tree | eea7083f396fb65f4d29eb73e41417be80d4f72b /actionpack | |
parent | 9abec81622473d9fe446df8385f9f483f5e4cd24 (diff) | |
download | rails-f8ca941f4a0a5a6115a05d06646a6411ebe5aa44.tar.gz rails-f8ca941f4a0a5a6115a05d06646a6411ebe5aa44.tar.bz2 rails-f8ca941f4a0a5a6115a05d06646a6411ebe5aa44.zip |
Add CHANGELOG entry for #8108 on master too.
[ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 72121668ac..e04eac739d 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,21 @@ ## Rails 4.0.0 (unreleased) ## +* Fix input name when `:multiple => true` and `:index` are set. + + Before: + + check_box("post", "comment_ids", { :multiple => true, :index => "foo" }, 1) + #=> <input name=\"post[foo][comment_ids]\" type=\"hidden\" value=\"0\" /><input id=\"post_foo_comment_ids_1\" name=\"post[foo][comment_ids]\" type=\"checkbox\" value=\"1\" /> + + After: + + check_box("post", "comment_ids", { :multiple => true, :index => "foo" }, 1) + #=> <input name=\"post[foo][comment_ids][]\" type=\"hidden\" value=\"0\" /><input id=\"post_foo_comment_ids_1\" name=\"post[foo][comment_ids][]\" type=\"checkbox\" value=\"1\" /> + + Fix #8108 + + *Daniel Fox, Grant Hutchins & Trace Wax* + * Clear url helpers when reloading routes. *Santiago Pastorino* |