mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
9abec81622
commit
f8ca941f4a
1 changed files with 16 additions and 0 deletions
|
@ -1,5 +1,21 @@
|
||||||
## Rails 4.0.0 (unreleased) ##
|
## 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.
|
* Clear url helpers when reloading routes.
|
||||||
|
|
||||||
*Santiago Pastorino*
|
*Santiago Pastorino*
|
||||||
|
|
Loading…
Reference in a new issue