title: Ruby on Rails - Getting parameter values as hash onside controller
body: <p>How can i get the values passed in the URL <code>check/1?Answers[1]=2&amp;Answers[7]=3&amp;Answers[6]=4&amp;Answers[4]=0</code> in controller</p>
  
  <p><code>@answers = params[:Answers]</code> ?</p>
  
  <p>How can i convert <code>@answers</code> to the format <code>{1 =&gt; 2, 7 =&gt; 3, 6 =&gt; 4, 4 =&gt; 0}</code></p>