1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix spelling of associations

This commit is contained in:
Petrik 2021-06-23 10:46:30 +02:00
parent af04c866c2
commit c5c4fc155b

View file

@ -523,7 +523,7 @@ add_belongs_to :taggings, :taggable, polymorphic: true
```
The polymorphic option will create two columns on the taggings table which can
be used for polymorphic assocations: `taggable_type` and `taggable_id`.
be used for polymorphic associations: `taggable_type` and `taggable_id`.
A foreign key can be created with the the `foreign_key` option.