Skip to content

Commit

Permalink
Fix generated sql
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Mar 15, 2009
1 parent b47b928 commit 13cc934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/active_record_querying.textile
Expand Up @@ -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
Expand Down

0 comments on commit 13cc934

Please sign in to comment.