From: David Heinemeier Hansson Date: 2003-07-21T02:47:37+09:00 Subject: Re: Parsing POST and GET variables simultaneously? > Either way, you have to parse the string yourself, though. Identify > the name=value pairs, decode the '+'s and '%xx's into spaces and other > unprintable characters, etc. class CGI def query_params params = {} ENV['QUERY_STRING'].split("&").each { |p| k, v = p.split("=") params[CGI.unescape(k)] = CGI.unescape(v) } params end end ...that does the trick. God, I love Ruby. May I never stray back into PHP-land again :)