Skip to content

Commit 9118d8f

Browse files
committed
updated description of rake db:migrate
It seemed to be confusing the `scaffold` command with `db:migrate`
1 parent b58afdf commit 9118d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/en/intro-to-rails/creating_a_migration.step

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ explanation {
3636
message <<-MARKDOWN
3737
`rake` _(ruby make)_ is a tool that allows you to run small Ruby programs (**tasks**) that you use often in your application.
3838

39-
Here, `rake db:migrate` is a task provided by the Rails framework. It creates a bunch of new files, including a *migration*, a *model*, a *view*, and a *controller*.
39+
Here, `rake db:migrate` is a task provided by the Rails framework. It uses the migration file we just created (`db/migrate/201xxxxxxxxxxx_create_topics.rb`) to change the database. Database migration files can be crucial to code collaboration.
4040

4141
MARKDOWN
4242

0 commit comments

Comments
 (0)