Permalink
Browse files

Add CHANGELOG entry for #8108 on master too.

[ci skip]
  • Loading branch information...
1 parent 9abec81 commit f8ca941f4a0a5a6115a05d06646a6411ebe5aa44 @rafaelfranca rafaelfranca committed Nov 8, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 actionpack/CHANGELOG.md
View
@@ -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*

0 comments on commit f8ca941

Please sign in to comment.