rails/rails — pull request #10518 by vanstee (2013-05-08 15:50:36+00:00)
Title: Include aliases in attribute names

This came up when trying to include attribute aliases in the list of parameters wrapped by default. Returning both aliases and names in `ActiveRecord#attribute_names` seems like the best solution, as recommended by @jeremy.