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
You need to place a hidden field tag before each checkbox with an empty value, for example:
<%= hidden_field_tag :basketball, '' %> <%= check_box_tag :basketball, checked = true %> Basketball
Then the form is aware it needs to populate that field with an empty value if nothing is selected.