These are just small things, but I noticed that the radio_button
really sucks when using with a fields_for or form_for block.  First,
it ignores the :index option passed into the parent fields_for when
generating its ID!  Second, you cannot use f.label to target it.  I
fixed both of these:

http://rails.lighthouseapp.com/projects/8994/tickets/1993-fradio_button-ignores-parent-fields_fors-index-option
http://rails.lighthouseapp.com/projects/8994/tickets/1992-flabel-should-work-for-targeting-fradio_button

The first one seems pretty important, now that people are doing more
and more nested assignments (you can imagine someone will try a radio
button sometime, like I did).  All of these can be resolved by
manually generating the ID of radio buttons and labels, but then why
use form_for at all...
--~--~---------~--~----~------------~-------~--~----~
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