Skip to content

Commit fd16f9b

Browse files
authored
Merge pull request rails#43697 from artanikin/fix-active_record_migrations_guide_typo
Fix active_record_migrations guide typo
2 parents 4308261 + 3d9a52f commit fd16f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ add_belongs_to :taggings, :taggable, polymorphic: true
525525
The polymorphic option will create two columns on the taggings table which can
526526
be used for polymorphic associations: `taggable_type` and `taggable_id`.
527527

528-
A foreign key can be created with the the `foreign_key` option.
528+
A foreign key can be created with the `foreign_key` option.
529529

530530
```ruby
531531
add_reference :users, :role, foreign_key: true

0 commit comments

Comments
 (0)