Add CHANGELOG entry for #8108 on master too.

[ci skip]
This commit is contained in:
Rafael Mendonça França 2012-11-08 14:37:15 -02:00
parent 9abec81622
commit f8ca941f4a
1 changed files with 16 additions and 0 deletions

View File

@ -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*