This project is archived and is in readonly mode.
Allow strings to be sent as collection to select
-
Michael Koziarski
- Assigned user set to Eloy Duran
Does this look ok to you eloy?
Is there more we could do to make the nested form helpers work nicely with select and collection_select?
-
Eloy Duran
- State changed from new to verified
The patch does what the ticket says. +1
If there's more that could be done or isn't working please report. Otherwise I'll inspect this the next time I have to work in this area.
-
José Valim
Thanks Eloy! You would like to check #2392 to_radio_button_tag ignores :index options partially as well, it's related with the :index option.
-
Matt Jones
You might also want to take a look at #1986 Create optgroups in options_for_select, which allows options_for_select (used by select) to handle optgroups as well.
-
Repository
- State changed from verified to committed
(from [66ead4f148964ad7af33f5e44e79fa50a7a00f61]) Allow strings to be sent as collection to select.
Signed-off-by: Michael Koziarski michael@koziarski.com
[#2391 Allow strings to be sent as collection to select state:committed] http://github.com/rails/rails/commit/66ead4f148964ad7af33f5e44e79fa...
