From 85bc3b417dc4e1ecad76fa89b5d195e2db8f5ff5 Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Thu, 1 May 2008 23:19:12 -0700 Subject: finally fixed table aliasing issues - the solution is currently ugly, but i have an idea how to clean it up --- spec/arel/unit/relations/join_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/arel/unit') 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` ") -- cgit v1.2.3