Curious what the \'rails way\' of handling the situation when a user checks multiple checkboxes (with the same name value), and it gets posted back to the controller.
If you want to use a checked param you have to write this :
checked
check_box_tag "tag_ids[]", 1, true
And not this :
check_box_tag 'tag_ids[]', 1, true
It took me a while to figure out, I hope it will help someone.