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:
parent
af04c866c2
commit
c5c4fc155b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue