title: Rails checkbox and params
body: <p>I am using many checkboxes in a page as the following:</p>
  
  <pre><code>&lt;%= check_box_tag(:one, value = 1) %&gt;&lt;/p&gt;
  </code></pre>
  
  <p>Imagine that it goes from 1 to 20, all the same with the value changed. How can I get in the controller the <code>params</code> of the ones that were checked?</p>
  
  <p>Example: If user checks 3, 5 and 10 how can I get just those params in a single params?</p>