TableAlias leg ordering has changed, so change accordingly

This commit is contained in:
Aaron Patterson
2011-03-30 09:54:46 -07:00
parent 2be383b946
commit cfb6f77ac0

View File

@@ -22,7 +22,7 @@ module ActiveRecord
end
def aliased_table
Arel::Nodes::TableAlias.new aliased_table_name, table
Arel::Nodes::TableAlias.new table, aliased_table_name
end
def ==(other)