rails/rails — pull request #14711 by swoker (2014-04-11 18:07:07+00:00)
Title: Activerecord fix aggregate methods with select

Fixes issue #13648