Fix active_record_migrations guide typo

This commit is contained in:
Artem 2021-11-23 22:09:47 +05:00
parent 430826178d
commit 3d9a52f6d1
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,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 associations: `taggable_type` and `taggable_id`.
A foreign key can be created with the the `foreign_key` option.
A foreign key can be created with the `foreign_key` option.
```ruby
add_reference :users, :role, foreign_key: true