* Difficulties with multiple value posts
@ 2009-12-18 1:29 Bob Hutchison
0 siblings, 0 replies; only message in thread
From: Bob Hutchison @ 2009-12-18 1:29 UTC (permalink / raw
To: rack-devel; +Cc: Bob Hutchison
Hi,
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-18 1:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18 1:29 Difficulties with multiple value posts Bob Hutchison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).