title: Additional quotes in parameters
body: <p>i'm trying to learn simple stuff a make HTTP request to rails app.
   the problem is, when i try to make HTTP post request to my rails app, code is :</p>
  
  <pre><code>uri = URI.parse("http://localhost:4000/posts")
  http = Net::HTTP.new(uri.host, uri.port)
  request = Net::HTTP::Post.new(uri.request_uri)
  request.set_form_data( :post=&gt; {"name" =&gt; "My query", "title" =&gt; "50"} )
  response = http.request(request)
  </code></pre>
  
  <p>when i look into console for incoming post request, the output is:</p>
  
  <pre><code>Started POST "/posts" for 127.0.0.1 at 2015-02-02 16:14:12 +0100
  Processing by PostsController#create as */*
    Parameters: {"post"=&gt;"{\"name\"=&gt;\"My query\", \"title\"=&gt;\"50\"}"}
  Completed 500 Internal Server Error in 1ms
  
  NoMethodError (undefined method `permit' for "{\"name\"=&gt;\"My query\", \"title\"=&gt;\"50\"}":String):
    app/controllers/posts_controller.rb:72:in `post_params'
    app/controllers/posts_controller.rb:27:in `create'
  </code></pre>
  
  <p>Look closely on parameters. Why does ist add additional quotation marks? how to fix this problem?</p>