title: Ruby on Rails 4: Pluck results to hash
body: <p>How can I turn:</p>
  
  <pre><code>Person.all.pluck(:id, :name)
  </code></pre>
  
  <p>to</p>
  
  <pre><code>[{id: 1, name: 'joe'}, {id: 2, name: 'martin'}]
  </code></pre>
  
  <p>without having to .map every value (since when I add or remove from the .pluck I have to do he same with the .map)</p>