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:
parent
b47b9289eb
commit
13cc934cc8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue