Populating oracle db data for radio button on the view


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

For example,

<%= radio_button(“attending_ip”, ‘service’, ‘NBU’) %>NBU

<%= radio_button(“attending_ip”, ‘service’, ‘GI’ ) %>GI

<%= radio_button(“attending_ip”, ‘service’, ‘Reh’ ) %>Rehab

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?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs