I have a form that is an update user form where several of the elements are checkboxes. I want true to pass to the params if checked (this is working) and false to pass to the
If anyone have column type boolean and using check_box_tag then look at this. It worked for me.
<%= hidden_field_tag :basketball, 'false' %>
<%= check_box_tag :basketball, true, is_checked? %>