Saving radio buttons values in rails
问题 I'm trying to use radio buttons in my rails application. Currently the buttons are showing up on the page as expected, but the value is not being saved upon submission. I think the problem is actually with my submit button - nothing is happening when it is pressed. Here is the code for my page with the radio buttons: <div class="form_row> <%= form_for @term, :url=>{ :action =>"update_status" } do |f| %> <%= f.radio_button :status, 'on' %><b>On</b> <br/> <%= f.radio_button :status, 'off' %><b