title: rails create a collection select from a array of db
body: <p>how i create a collection select with array of numbers from a integer db field or any other kind?</p>
  
  <p>exemple:</p>
  
  <p><strong>Item from db</strong></p>
  
  <pre><code>&lt;Item id: 167, name: "x", quantity: 6, 
  created_at: "2012-04-27 18:49:07", updated_at: "2012-04-27 18:49:07" &gt; 
  </code></pre>
  
  <p><strong>Item show</strong></p>
  
  <pre><code>&lt;%= select("item", "quantity", 1..10) %&gt;
  </code></pre>
  
  <p>i would like just to show the quantity from the db</p>