That is pretty easy with a plain hash like
{:a => "a", :b => "b"}
which would translate into
"a=a&b=b"
but what do you do with something more complex like
{:a => "a", :b => ["c", "d", "e"]}
which should translate in
"a=a&b[0]=c&b[1]=d&b[2]=e"
or even worse, with something like:
{:a => "a", :b => [{:c => "c", :d => "d"}, {:e => "e", :f => "f"}]
Thanks for the much appreciated help with that!