Skip to content

Commit 556881c

Browse files
authored
Merge pull request rails#54958 from duffuniverse/fix-link-to-docs-in-composite-primary-keys-guide
[ci skip] Fix the link to "Active Record Query Interface" docs in the "Composite Primary Keys" guide
2 parents 22a61df + db33d20 commit 556881c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_composite_primary_keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Take caution when using `find_by(id:)` on models where `:id` is not the primary
118118
key, such as composite primary key models. See the [Active Record Querying][]
119119
guide to learn more.
120120

121-
[Active Record Querying]: active_record_querying.html#using-id-as-a-condition
121+
[Active Record Querying]: active_record_querying.html#conditions-with-id
122122

123123
Associations between Models with Composite Primary Keys
124124
-------------------------------------------------------

0 commit comments

Comments
 (0)