rails/rails — pull request #13789 by ccutrer (2014-01-22 00:53:46+00:00)
Title: Allow using hash for Relation#select to define aliases.

Also allow a subquery as the key