aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAndrew <andrew.r224@gmail.com>2018-09-18 10:33:46 +0300
committerGitHub <noreply@github.com>2018-09-18 10:33:46 +0300
commit6140d0ca3fc763b20beeefd4a0b8212ebe9149a6 (patch)
tree21e14cf734ecdee44bc0bcf4527d93451ab2cf2d /guides
parent11581afc01927565d57dd0e0156e983f92f8c2e0 (diff)
downloadrails-6140d0ca3fc763b20beeefd4a0b8212ebe9149a6.tar.gz
rails-6140d0ca3fc763b20beeefd4a0b8212ebe9149a6.tar.bz2
rails-6140d0ca3fc763b20beeefd4a0b8212ebe9149a6.zip
Fix a typo in AR Query Interface [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 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