title: How can I extract just the ids from an array of hashes?
body: <p>I want to iterate over this data to extract the value of the ids:</p>
  
  <pre><code>[ {:id =&gt; 3, :quantity =&gt; 5 }, { :id =&gt; 4, :quantity =&gt; 3 } ]
  </code></pre>