aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorप्रथमेश Sonpatki <csonpatki@gmail.com>2016-09-08 16:44:14 +0530
committerGitHub <noreply@github.com>2016-09-08 16:44:14 +0530
commit087427e0d1f7baf804ae52e13dc55bfa78a50123 (patch)
tree143541ec228c45b95458f64e37c79d042a53fe19 /guides
parentbd9532248679da53587fad9a7cd3a1b459cbdadb (diff)
parent831f1b67b741ee7a8af070ab18975ecdde4a9a69 (diff)
downloadrails-087427e0d1f7baf804ae52e13dc55bfa78a50123.tar.gz
rails-087427e0d1f7baf804ae52e13dc55bfa78a50123.tar.bz2
rails-087427e0d1f7baf804ae52e13dc55bfa78a50123.zip
Merge pull request #26431 from wytesk133/master
Fix table name typos [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_querying.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md
index 493fd526fb..644756906a 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -1020,7 +1020,7 @@ Author.joins("INNER JOIN posts ON posts.author_id = authors.id AND posts.publish
This will result in the following SQL:
```sql
-SELECT clients.* FROM clients INNER JOIN posts ON posts.author_id = authors.id AND posts.published = 't'
+SELECT authors.* FROM authors INNER JOIN posts ON posts.author_id = authors.id AND posts.published = 't'
```
#### Using Array/Hash of Named Associations