rails/rails — pull request #7221 by kot-begemot (2012-08-01 11:09:17+00:00)
Title: ActiveRecord::Relation select problem

All klass.connection and @klass.connection are now just connection, which is delegated to klass. Tests are passing

This should partially fix #6331.