edge badge
Methods
C
T
Instance Public methods
column_aliases()
# 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
table()
# File activerecord/lib/active_record/associations/join_dependency.rb, line 36
def table
  Arel::Nodes::TableAlias.new node.table, node.aliased_table_name
end