I've recently had some difficulties getting Rack to handle POST
parameters with multiple values properly.
I'm (now) aware of the naming conventions used to get multiple values
but that doesn't help much when you don't have control over those
names (e.g. when they are defined in an API spec)
Anyway, I've written a monkey patch http://gist.github.com/258439#file_3_rack_monkey_patch.rb
that fixes the problem for me. I don't know if that's completely
correct either, but like I said it's what I needed on the project I'm
working on.
I don't know if this is something you'd want to consider changing in
Rack, but you might consider documenting this very clearly. This cost
us quite a bit of time tracking it down -- you just don't think of
bugs in something like Rack, kind of how we don't blame the compiler
often these days.
I've written a bit about it on my new weblog http://xampl.com/so/2009/12/16/rubyrack-and-multiple-value-request-param-pain-
—-part-one/ if anyone's interested.
Still loving Rack, keep up the great work.
Cheers,
Bob