Skip to content

Commit 3df54e5

Browse files
Merge pull request rails#43628 from JuanitoFatas/guide/association_basics/primary-key-link
Guide: Fix link to Primary key in Active Record Associations [ci-skip]
2 parents e3a58c8 + 1ef5ffe commit 3df54e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/association_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Rails supports six types of associations:
8080
* [`has_one :through`][`has_one`]
8181
* [`has_and_belongs_to_many`][]
8282

83-
Associations are implemented using macro-style calls, so that you can declaratively add features to your models. For example, by declaring that one model `belongs_to` another, you instruct Rails to maintain [Primary Key](https://en.wikipedia.org/wiki/Unique_key)-[Foreign Key](https://en.wikipedia.org/wiki/Foreign_key) information between instances of the two models, and you also get a number of utility methods added to your model.
83+
Associations are implemented using macro-style calls, so that you can declaratively add features to your models. For example, by declaring that one model `belongs_to` another, you instruct Rails to maintain [Primary Key](https://en.wikipedia.org/wiki/Primary_key)-[Foreign Key](https://en.wikipedia.org/wiki/Foreign_key) information between instances of the two models, and you also get a number of utility methods added to your model.
8484

8585
In the remainder of this guide, you'll learn how to declare and use the various forms of associations. But first, a quick introduction to the situations where each association type is appropriate.
8686

0 commit comments

Comments
 (0)