Source: show | on GitHub
# File activerecord/lib/active_record/associations/join_dependency.rb, line 40 def column_aliases t = table columns.map { |column| t[column.name].as Arel.sql column.alias } end
# File activerecord/lib/active_record/associations/join_dependency.rb, line 36 def table Arel::Nodes::TableAlias.new node.table, node.aliased_table_name end