diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-01 23:19:12 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-01 23:19:12 -0700 |
commit | 85bc3b417dc4e1ecad76fa89b5d195e2db8f5ff5 (patch) | |
tree | a9084c9cc6e9f32795164997343f05b1a6b5552c /spec/arel | |
parent | 6c61ebb4d677f9bc5e1a669e7351c1226cbc9582 (diff) | |
download | rails-85bc3b417dc4e1ecad76fa89b5d195e2db8f5ff5.tar.gz rails-85bc3b417dc4e1ecad76fa89b5d195e2db8f5ff5.tar.bz2 rails-85bc3b417dc4e1ecad76fa89b5d195e2db8f5ff5.zip |
finally fixed table aliasing issues
- the solution is currently ugly, but i have an idea how to clean it up
Diffstat (limited to 'spec/arel')
-rw-r--r-- | spec/arel/unit/relations/join_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/arel/unit/relations/join_spec.rb b/spec/arel/unit/relations/join_spec.rb index c08ff68f36..0c2d1d771d 100644 --- a/spec/arel/unit/relations/join_spec.rb +++ b/spec/arel/unit/relations/join_spec.rb @@ -155,7 +155,7 @@ module Arel SELECT `users`.`id`, `users`.`name`, `users_2`.`id`, `users_2`.`name`, `users_3`.`id`, `users_3`.`name` FROM `users` INNER JOIN `users` AS `users_2` - ON `users_2`.`id` = `users_3`.`id` + ON `users`.`id` = `users_2`.`id` INNER JOIN `users` AS `users_3` ON `users_2`.`id` = `users_3`.`id` ") |