title: ids vs map vs pluck in Rails
body: <pre><code>Benchmark.bm do |x|
    x.report { ta_query.all.map{ |ta| ta.id } }
    x.report { ta_query.pluck(:id) }
    x.report { ta_query.ids }
  end
  </code></pre>
  <p>I've tested this and ids is the fastest one but I can't find any resource saying its better to use ids than pluck, all articles seem to discuss pluck vs select instead :/ Any idea why ids is faster?</p>