diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-06-29 13:22:26 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-06-29 13:22:26 -0700 |
commit | 92404265df259ea4d7c9da8d5ed6dff261e31a68 (patch) | |
tree | 283062ad789299f0d6422e3c79ef0c946bfec7c0 | |
parent | 5aee168e7351bf63e2c9f5a1ad0d43dd7fbe0aba (diff) | |
parent | 33fac9917d52f277082bd33652d58a33f5067cd0 (diff) | |
download | rails-92404265df259ea4d7c9da8d5ed6dff261e31a68.tar.gz rails-92404265df259ea4d7c9da8d5ed6dff261e31a68.tar.bz2 rails-92404265df259ea4d7c9da8d5ed6dff261e31a68.zip |
Merge pull request #20735 from vngrs/minor_addition_to_getting_started
Minor addition to getting started guide for foreign_key description
-rw-r--r-- | guides/source/getting_started.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index dfdc11de7a..b5054549e2 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -1555,8 +1555,8 @@ end ``` The `t.references` line creates an integer column called `article_id`, an index -for it, and a foreign key constraint that points to the `articles` table. Go -ahead and run the migration: +for it, and a foreign key constraint that points to the `id` column of the `articles` +table. Go ahead and run the migration: ```bash $ bin/rake db:migrate |