I'm attempting to write a RoR controller that will post data to a page on behalf of a preexisting form. This form consists of a long list of checkboxes.
I use a hash that represents the name => value pairs of the form elements. The problem is that all the checkboxes in the form use the same name but different value. I do not know how to represent multiple values for the same name in my form hash.
So as it stands I can only emulate having a single checkbox selected.
How can I represent multiple checkboxes being checked in my form hash for my RoR controller?