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