title: Read from params[] in Rails
body: <p>I use:</p>
  
  <pre><code>&lt;%= select( "payment", "id", { "Visa" =&gt; "1", "Mastercard" =&gt; "2"}) %&gt;
  </code></pre>
  
  <p>and I get this in HTML</p>
  
  <pre><code>&lt;select id="payment_id" name="payment[id]"&gt;&lt;option value="2"&gt;Mastercard&lt;/option&gt;
  &lt;option value="1"&gt;Visa&lt;/option&gt;&lt;/select&gt;
  </code></pre>
  
  <p>now how can I read the <code>payment[id]</code> with <code>params[]</code>, if I use params[payment[id]] I get an error.</p>