Hi,
I am trying to populate data from oracle database table and all text
fields and text areas work fine. But radio buttons does not get
populated.
For example,
<%= radio_button("attending_ip", ''service'',
''NBU'') %>NBU<BR>
<%= radio_button("attending_ip", ''service'',
''GI'' ) %>GI<BR>
<%= radio_button("attending_ip", ''service'',
''Reh'' ) %>Rehab<BR>
However, on the view, if I select any radio button(from empty radio
buttons) and click edit link again, it gets populated. So, it looks
like it is not working with data that were already in the DB table.
Has anyone experienced this before?
Thanks,
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---