Skip to content

Commit 5131103

Browse files
committed
Make scaffold/migrate/server separate steps.
Many students at the intermediate railsbridge were accidentally pasting the three lines as one and ending up with a very strange migration. I've made these separate so that it is more clear that it is 3 distinct steps.
1 parent d58c6aa commit 5131103

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sites/installfest/create_and_deploy_a_rails_app.step

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ step "Generate a database model" do
7474

7575
console <<-BASH
7676
rails generate scaffold user name:string email:string address:text active:boolean
77+
BASH
78+
console <<-BASH
7779
rake db:migrate
80+
BASH
81+
console <<-BASH
7882
rails server
7983
BASH
8084

0 commit comments

Comments
 (0)