diff options
author | Matthew Draper <matthew@trebex.net> | 2018-09-18 17:24:12 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 17:24:12 +0930 |
commit | e925cb4d856088a815bf4a0cf27518d01bb4029d (patch) | |
tree | 21e14cf734ecdee44bc0bcf4527d93451ab2cf2d /guides/source | |
parent | 11581afc01927565d57dd0e0156e983f92f8c2e0 (diff) | |
parent | 6140d0ca3fc763b20beeefd4a0b8212ebe9149a6 (diff) | |
download | rails-e925cb4d856088a815bf4a0cf27518d01bb4029d.tar.gz rails-e925cb4d856088a815bf4a0cf27518d01bb4029d.tar.bz2 rails-e925cb4d856088a815bf4a0cf27518d01bb4029d.zip |
Merge pull request #33909 from andrewr224/patch-1
Fix a typo in AR Query Interface [ci skip]
Diffstat (limited to 'guides/source')
-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 91cc175095..02055e59f0 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -1261,7 +1261,7 @@ articles, all the articles would still be loaded. By using `joins` (an INNER JOIN), the join conditions **must** match, otherwise no records will be returned. -NOTE: If an association is eager loaded as part of a join, any fields from a custom select clause will not present be on the loaded models. +NOTE: If an association is eager loaded as part of a join, any fields from a custom select clause will not be present on the loaded models. This is because it is ambiguous whether they should appear on the parent record, or the child. Scopes |