rails/rails — pull request #4976 by kreynolds (2012-02-09 18:53:31+00:00)
Title: Fix eagerly loading associations without primary keys

column_names_with_alias allowed a nil through when used with associations without primary keys which breaks eager loading in some circumstances.