Skip to content

Commit e925cb4

Browse files
authored
Merge pull request rails#33909 from andrewr224/patch-1
Fix a typo in AR Query Interface [ci skip]
2 parents 11581af + 6140d0c commit e925cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_querying.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ articles, all the articles would still be loaded. By using `joins` (an INNER
12611261
JOIN), the join conditions **must** match, otherwise no records will be
12621262
returned.
12631263

1264-
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.
1264+
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.
12651265
This is because it is ambiguous whether they should appear on the parent record, or the child.
12661266

12671267
Scopes

0 commit comments

Comments
 (0)