Radio buttons in an edit/update form do not display the underlying
data (all radio buttons are displayed unchecked) although any changes
made through these contols are updated.
<%= f.radio_button(:sex, 'female', :checked =>
"unchecked") %>
<%= f.radio_button(:sex, 'male', :checked => "unchecked")
%>
In this case the column type is a string, however the same problem
holds for boolean and integer column types. Anyway, I am missing
something integal in the process, but clueless as to what it is.
Feedback will be much appreciated.
Thanks, Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---