On Jan 23, 2006, at 10:46 AM, Ben M. wrote:
name found in the headers and wrap this in an accessor that returns
the first value for single params. It’s fine if you want to add
bells and whistles and allow people to create hashes by putting
square brackets in the name attribute, but it is a tremendous dent
to rails’ credibility in my book if it can’t handle multiple params
with the same name.
Of course you can accomplish what you want with rails params system.
Once you understand how it works I’m sure you will see how nice it is
to work with. If you want a list of text_fields to show up in an
array in the params all you need to do is something like this:
Then the an array of list items will be available in your controller
with params[:list] . Its’ really very simple. By using the empty 
array constructor after the name of the field, rails will
automatically recognize this and create an array in the params hash
with a key of :list. So if you entered the following entries into
your six text fields:
Then the following would be true:
params[:list] == [‘field1’, ‘field2’, ‘field3’, ‘field4’, ‘field5’,
Hope that clears it up for you.