aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2018-09-18 17:24:12 +0930
committerGitHub <noreply@github.com>2018-09-18 17:24:12 +0930
commite925cb4d856088a815bf4a0cf27518d01bb4029d (patch)
tree21e14cf734ecdee44bc0bcf4527d93451ab2cf2d
parent11581afc01927565d57dd0e0156e983f92f8c2e0 (diff)
parent6140d0ca3fc763b20beeefd4a0b8212ebe9149a6 (diff)
downloadrails-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]
-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 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