1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix generated sql

This commit is contained in:
Pratik Naik 2009-03-15 14:13:03 +00:00
parent b47b9289eb
commit 13cc934cc8

View file

@ -645,7 +645,7 @@ Client.all(:joins => 'LEFT OUTER JOIN addresses ON addresses.client_id = client.
This will result in the following SQL:
<sql>
SELECT clients.* FROM clients INNER JOIN addresses ON addresses.client_id = clients.id
SELECT clients.* FROM clients LEFT OUTER JOIN addresses ON addresses.client_id = clients.id
</sql>
h4. Using Array/Hash of Named Associations