title: Flatten an array of hashes in ruby
body: <p>I have some simple code that looks like this:</p>
  
  <pre><code>fruit.each do |c|
    c.each do |key, value|
      puts value
    end
  end
  </code></pre>
  
  <p>This works fine, but it feels un-ruby like. My goal is to take this array:</p>
  
  <pre><code>[{"fruit_id"=&gt;"1"}, {"fruit_id"=&gt;"2"}, {"fruit_id"=&gt;"3"}]
  </code></pre>
  
  <p>And convert it to this:</p>
  
  <pre><code>[ "1", "2", "3" ]
  </code></pre>
  
  <p>Thoughts?</p>