# File lib/active_record/associations.rb, line 1549 def table_alias_for(table_name, table_alias) "#{table_name} #{table_alias if table_name != table_alias}".strip end