I'm trying to have a list to checkboxes with multiple selection. I have this array in the model.
QOL = ["your health",
"your stress levels",
"how safe you feel",
"your education",
"your home"
]
I'm trying to do somthing like this in my simple_form form.
<%= f.input :qolselections, as: :check_boxes, :collection => Goal::QOL %>
How can I save the selections to the database and be able to retrieve them as the selected string values?