I have a question regarding an older version of rails (2.3.5)
I have a table with cases
I have a table with segments (4 segments)
And I have a join table mapping case_id to segment_id (each case can have multiple segments).
My forms needs to have a checkbox for each segments and to be able to save and show what is selected.
I am able to save the state of the checkboxes using the code below.
What I don't understand is how to populate the form so all checkboxes (even the one's which are not checked) are shown on the screen???