diff options
author | Xavier Noria <fxn@hashref.com> | 2019-03-07 10:50:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 10:50:15 +0100 |
commit | e056b9bfb07c4eb3bcc6672d885aadd72bec574f (patch) | |
tree | 0ccf64cdaef32c44316268463fb19c3bc91cb81a /guides/source | |
parent | a88b6f257b7c0df816181ce2c36bb7ecb6487a17 (diff) | |
parent | 755112c7b15ad5a8a8621ac307a55b6bbf487c7b (diff) | |
download | rails-e056b9bfb07c4eb3bcc6672d885aadd72bec574f.tar.gz rails-e056b9bfb07c4eb3bcc6672d885aadd72bec574f.tar.bz2 rails-e056b9bfb07c4eb3bcc6672d885aadd72bec574f.zip |
Merge pull request #35503 from samjohn/cannot-grammar-correction
Replace “can not” with “cannot”.
Diffstat (limited to 'guides/source')
-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 |