I can't get the collection_check_boxes to work with checked: - attribute. If I use bootstrap_form_tag what do the checked: accept?
checked: [1,2,3,4]
checked: ["1","2","3","4"]
checked: MyActiveModel.all
E.g.
<%= f.collection_check_boxes "[search][post_type][]", PostType.all, :id, :name, checked: ["1"], hide_label: true %>