title: Accessing specific value from Ruby array of hashes
body: <p>I have this an array of hashes structured like this</p>
  
  <pre><code>[{:payer_id=&gt;1, :price=&gt;20}, {:payer_id=&gt;2, :price=&gt;30}] 
  </code></pre>
  
  <p>etc. How can I access the price given a specific <code>payer_id</code>? I know this question is basic but I can't figure it out.</p>