Isn't it possible to get variables from POST and GET simultaneously? 
Consider the script test.rbx below:


require 'cgi'
cgi = CGI.new
print "HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\n"

if cgi.params.empty? then
     puts "<html><body>"
     puts "<form action='test.rbx?valueFromGet=here' method='post'>"
     puts "<input type='text' name='valueFromPost'>"
     puts "</form></body></html>"
else
     print cgi.params.inspect
end


Calling test.rbx?valueFromGet=here gives me:
{"valueFromPost"=>["there"]}

Calling text.rbx and entering here "here" in the input gives me:
{"valueFromPost"=>["here"]}

...where I would have expected:
{"valueFromPost"=>["here"],"valueFromPost"=>["there"]}

Any ideas on how to get the latter?
--
David Heinemeier Hansson,
http://www.loudthinking.com/ -- Thoughts for free
http://www.nextangle.com/    -- Thoughts for hire