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.
The easiest way of doing this is to set those checkboxes up to become an array.
HTML:
Controller:
tag_ids = params[:tag_ids]
(Of course, you'd probably be using form_for-based helpers in the view, and therefore mass-assigning the tag IDs. This is just the most generic example.)