diff options
author | Samantha John <sam@gethopscotch.com> | 2019-03-06 16:35:52 -0500 |
---|---|---|
committer | Samantha John <sam@gethopscotch.com> | 2019-03-06 16:35:52 -0500 |
commit | 755112c7b15ad5a8a8621ac307a55b6bbf487c7b (patch) | |
tree | 0066a1b2862ccc596f8bf256582a12e6c0da0f85 /guides/source/active_record_migrations.md | |
parent | 134eaca7e2f32651eb5bbbcbea8fb990bff22b08 (diff) | |
download | rails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.tar.gz rails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.tar.bz2 rails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.zip |
Replace “can not” with “cannot”.
Diffstat (limited to 'guides/source/active_record_migrations.md')
-rw-r--r-- | guides/source/active_record_migrations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md index 14fcf58ce7..be0bc495f7 100644 --- a/guides/source/active_record_migrations.md +++ b/guides/source/active_record_migrations.md @@ -484,7 +484,7 @@ add_foreign_key :articles, :authors This adds a new foreign key to the `author_id` column of the `articles` table. The key references the `id` column of the `authors` table. If the -column names can not be derived from the table names, you can use the +column names cannot be derived from the table names, you can use the `:column` and `:primary_key` options. Rails will generate a name for every foreign key starting with |