rails/rails — pull request #17754 by eileencodes (2014-11-25 00:10:13+00:00)
Title: Combine aliased_table_for and aliased_name_for

This refactoring reduces the number of conditionals needed to build `aliased_table_for` and removes `aliased_name_for` because it's no longer necessary.

`aliased_name_for` was also used in `JoinDependency#initialize` so that was replaced with `aliased_table_for` as well. :smile_cat: