Fix typo in ActiveRecord Query guide
The SQL generated by this query (at 13.1.3.2): ```ruby Author.joins(books: [{ reviews: { customer: :orders } }, :supplier] ) ``` Is said to generate SQL whose select list is comprised of `*`, not `authors.*`
This commit is contained in:
parent
83e59883e9
commit
aaf844af73
@ -1382,7 +1382,7 @@ Author.joins(books: [{ reviews: { customer: :orders } }, :supplier])
|
||||
This produces:
|
||||
|
||||
```sql
|
||||
SELECT * FROM authors
|
||||
SELECT authors.* FROM authors
|
||||
INNER JOIN books ON books.author_id = authors.id
|
||||
INNER JOIN reviews ON reviews.book_id = books.id
|
||||
INNER JOIN customers ON customers.id = reviews.customer_id
|
||||
|
Loading…
Reference in New Issue
Block a user