rails/rails — pull request #8209 by senny (2012-11-13 20:29:11+00:00)
Title: backport #8176, `#pluck` can be used on a relation with `select` clause.

This is a backport of #8176 to fix #7551

I had to modify the patch, since the code looks different on `3-2-stable` than on master. Effectively it does the exact same thing tough. Since `spawn` was not available I used `clone`. Also I had to use `pluck` with an Array (in the test case) because multiple arguments are not supported on `3-2-stable`