title: Ruby: select a hash from inside an array
body: <p>I have the following array:</p>
  
  <pre><code>response = [{"label"=&gt;"cat", "name"=&gt;"kitty", "id"=&gt;189955}, {"label" =&gt; "dog", "name"=&gt;"rex", "id" =&gt; 550081}]
  </code></pre>
  
  <p>How do I select the hash that contains the label cat? I know <code>response.first</code> will give me the same result, but I want to search the by label.</p>
  
  <p>Thanks!</p>
  
  <p>Deb</p>