title: What is the difference between pluck and collect in Rails?
body: <p>Here are two sample codes.</p>
  
  <p>First one with <code>collect</code>:</p>
  
  <pre><code>User.first.gifts.collect(&amp;:id)
  </code></pre>
  
  <p>Second one with <code>pluck</code>:</p>
  
  <pre><code>User.first.gifts.pluck(:id)
  </code></pre>
  
  <p>Is there any difference between them in performance or something else?</p>