From 755112c7b15ad5a8a8621ac307a55b6bbf487c7b Mon Sep 17 00:00:00 2001 From: Samantha John Date: Wed, 6 Mar 2019 16:35:52 -0500 Subject: =?UTF-8?q?Replace=20=E2=80=9Ccan=20not=E2=80=9D=20with=20?= =?UTF-8?q?=E2=80=9Ccannot=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guides/source/active_record_migrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') 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 -- cgit v1.2.3