I want to assign a value to a checkbox. The code below doesn't seem to work
Same Section <%= f.check_box :LSU_TYPE, :value =>"Same Section" %>
Instead of storing 'Same Section' in the table, value '1' is stored when i check the box.
What am i doing wrong here?