aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-06-30 16:50:45 +0530
committerGitHub <noreply@github.com>2017-06-30 16:50:45 +0530
commit5fe2a4f929fff7fa725545c47ac0f9372d8c643d (patch)
treecb4de8e0868ce372f94c9cf953f5945b62924195
parentb9120d1f8cdfe8c6c88559a8029ba60452c9e5ca (diff)
parent05602968b9808a0b4f9dac5094168c102a5782ef (diff)
downloadrails-5fe2a4f929fff7fa725545c47ac0f9372d8c643d.tar.gz
rails-5fe2a4f929fff7fa725545c47ac0f9372d8c643d.tar.bz2
rails-5fe2a4f929fff7fa725545c47ac0f9372d8c643d.zip
Merge pull request #29640 from sai29/getting_started_edit
[ci skip] run migration before looking at schema
-rw-r--r--guides/source/getting_started.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 49c691c841..2ed1883ede 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -1546,8 +1546,8 @@ You'll learn a little about associations in the next section of this guide.
The (`:references`) keyword used in the bash command is a special data type for models.
It creates a new column on your database table with the provided model name appended with an `_id`
-that can hold integer values. You can get a better understanding after analyzing the
-`db/schema.rb` file below.
+that can hold integer values. To get a better understanding, analyze the
+`db/schema.rb` file after running the migration.
In addition to the model, Rails has also made a migration to create the
corresponding database table: