title: Ruby/Rails Net::HTTP.post_form nested hash items html escaped
body: <p>Example I am doing this in rails console:</p>
  
  <pre><code>params = {"type"=&gt;["raka"], "fields"=&gt;["exhb_0", "exh0_1", "t_g_a", "hp_1", "s1", "overflade_0", "t2", "t3", "t4"], "railing"=&gt;["A-3"], "wood"=&gt;["wood_6"], "railing_m"=&gt;"0", "order"=&gt;{"sving"=&gt;"right", "size"=&gt;{"ground"=&gt;"123", "floor"=&gt;"6", "a"=&gt;"6", "d"=&gt;"6"}, "comments"=&gt;{"step_2"=&gt;"", "step_3"=&gt;"", "step_4"=&gt;""}, "railing"=&gt;{"1"=&gt;"1", "2"=&gt;"1"}, "railing_m"=&gt;{"1"=&gt;"", "2"=&gt;"", "3"=&gt;"", "4"=&gt;"12"}, "hul"=&gt;{"l"=&gt;"123", "b"=&gt;"123"}, "name"=&gt;"qwed", "email"=&gt;"mail@example.com", "phone"=&gt;"13123", "street"=&gt;"iuuj", "city"=&gt;"ui", "postnr"=&gt;"213"}}
  
  x = Net::HTTP.post_form(URI.parse('http://localhost:3000/download.pdf'), params)
  </code></pre>
  
  <p>In my Rails console I can see the HTTP post request:</p>
  
  <pre><code>Started POST "/download.pdf" for 127.0.0.1 at 2013-04-15 16:25:36 +0200
  Processing by PublicController#show_pdf as */*
    Parameters: {"type"=&gt;"raka", "fields"=&gt;"t4", "railing"=&gt;"A-3", "wood"=&gt;"wood_6
  ", "railing_m"=&gt;"0", "order"=&gt;"{\"sving\"=&gt;\"right\", \"size\"=&gt;{\"ground\"=&gt;\"1
  23\", \"floor\"=&gt;\"6\", \"a\"=&gt;\"6\", \"d\"=&gt;\"6\"}, \"comments\"=&gt;{\"step_2\"=&gt;
  \"\", \"step_3\"=&gt;\"\", \"step_4\"=&gt;\"\"}, \"railing\"=&gt;{\"1\"=&gt;\"1\", \"2\"=&gt;\"
  1\"}, \"railing_m\"=&gt;{\"1\"=&gt;\"\", \"2\"=&gt;\"\", \"3\"=&gt;\"\", \"4\"=&gt;\"12\"}, \"h
  ul\"=&gt;{\"l\"=&gt;\"123\", \"b\"=&gt;\"123\"}, \"name\"=&gt;\"qwed\", \"email\"=&gt;\"mail@example.com\", \"phone\"=&gt;\"13123\", \"street\"=&gt;\"iuuj\", \"city\"=&gt;\"ui\", \"postn
  r\"=&gt;\"213\"}"}
  </code></pre>
  
  <p>The problem is that all the nested http params are HTML escaped. How do I get rid of that?</p>