diff options
author | Waitaya Krongapiradee <wyte.sk133@gmail.com> | 2016-09-08 16:41:16 +0700 |
---|---|---|
committer | Waitaya Krongapiradee <wyte.sk133@gmail.com> | 2016-09-08 16:41:16 +0700 |
commit | 831f1b67b741ee7a8af070ab18975ecdde4a9a69 (patch) | |
tree | 6913c50637ccb958beecaf4a59988bcee5bf51e6 /guides | |
parent | e88a745ca32f2551d0ab127b60b7c167f91217af (diff) | |
download | rails-831f1b67b741ee7a8af070ab18975ecdde4a9a69.tar.gz rails-831f1b67b741ee7a8af070ab18975ecdde4a9a69.tar.bz2 rails-831f1b67b741ee7a8af070ab18975ecdde4a9a69.zip |
Fix table name typos [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
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 |