Can anybody take a quick look at this patch?

http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1986

It's a small patch to enable options_for_select to handle grouped  
options. In short, if an
element of the array passed to options_for_select looks like

["label", [ ... other stuff ...]]

Then it will turn into an optgroup tag, with the given label. The  
"other stuff" will be the contents
of the optgroup.

This is a little different than grouped_options_for_select, as this  
allows mixing optgroups and
bare option tags.

Thanks,

--Matt Jones


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to