rails/rails — pull request #6091 by twinturbo (2012-04-30 16:50:43+00:00)
Title: Add ActiveRecord::Base#ids - Close #5812

This patch adds a new method for plucking all the IDs from a relation. This is useful when you need ID's for API's.

Original issue here: #5812