diff options
| author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-03-30 09:54:46 -0700 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-03-30 09:54:46 -0700 |
| commit | cfb6f77ac0574d3cd613c99fcc32135016b4284c (patch) | |
| tree | 1549aea7ac7531096499ba13c9603ee06845ee9d | |
| parent | 2be383b94619595a2b4886e35f599757eab6c878 (diff) | |
| download | rails-cfb6f77ac0574d3cd613c99fcc32135016b4284c.tar.gz rails-cfb6f77ac0574d3cd613c99fcc32135016b4284c.tar.bz2 rails-cfb6f77ac0574d3cd613c99fcc32135016b4284c.zip | |
TableAlias leg ordering has changed, so change accordingly
| -rw-r--r-- | activerecord/lib/active_record/associations/join_dependency/join_part.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency/join_part.rb b/activerecord/lib/active_record/associations/join_dependency/join_part.rb index 3279e56e7d..2b1d888a9a 100644 --- a/activerecord/lib/active_record/associations/join_dependency/join_part.rb +++ b/activerecord/lib/active_record/associations/join_dependency/join_part.rb @@ -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) |
