mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix a typo to make clause plural [ci skip]
This commit is contained in:
parent
8cea8ae278
commit
2ec51d03ac
1 changed files with 1 additions and 1 deletions
|
@ -961,7 +961,7 @@ SELECT clients.* FROM clients LEFT OUTER JOIN addresses ON addresses.client_id =
|
||||||
|
|
||||||
WARNING: This method only works with `INNER JOIN`.
|
WARNING: This method only works with `INNER JOIN`.
|
||||||
|
|
||||||
Active Record lets you use the names of the [associations](association_basics.html) defined on the model as a shortcut for specifying `JOIN` clause for those associations when using the `joins` method.
|
Active Record lets you use the names of the [associations](association_basics.html) defined on the model as a shortcut for specifying `JOIN` clauses for those associations when using the `joins` method.
|
||||||
|
|
||||||
For example, consider the following `Category`, `Post`, `Comment`, `Guest` and `Tag` models:
|
For example, consider the following `Category`, `Post`, `Comment`, `Guest` and `Tag` models:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue