Permalink
Browse files

Added breaks to the curriculum

  • Loading branch information...
SteveBarnett committed Oct 25, 2013
1 parent c589ea7 commit 9a7034e6c6a183166a86c07ef45a40da4612fb31
@@ -74,6 +74,11 @@ You can run `rake -T` to see a list of all the `rake` commands your app currentl
message <<-MARKDOWN
In MVC, models, views, and controllers have very specific jobs. Separating responsibilities like this make it easy to maintain and extend rails applications. When responsibilities become muddied it gets much harder to debug issues and add new functionality.
MARKDOWN

message <<-MARKDOWN
<h2>Nice! You've created a database table and a migration for it.</h2>
Time for tea or a coffee?
MARKDOWN
}

next_step "CRUD_with_scaffolding"
@@ -73,6 +73,11 @@ steps do
end

message "There is a lot more that `rails new` created. Probably enough to fill a book, so we're going to ignore them for now."

message <<-MARKDOWN
<h2>Great! You've created a brand new (empty) Rails app!</h2>
Why not take a break and stretch your legs?
MARKDOWN
end

next_step "create_a_new_git_repo"
@@ -61,6 +61,11 @@ It can still be important to clean up after yourself! `dependent: :destroy`
the **votes** that correspond to it will be destroyed, too. Without
`dependent :destroy`, those votes would live on the database forever.
MARKDOWN

message <<-MARKDOWN
<h2>Awesome! You've added Votes and Topics.</h2>
Is the sun shining? Go to the window and smell the fresh air.
MARKDOWN
}

next_step "allow_people_to_vote"
@@ -90,6 +90,11 @@ explanation {
>> exit

MARKDOWN

message <<-MARKDOWN
<h2>Excellent! You've learnt about routes and you're about to send your app out to the Internetz!</h2>
Stand up. High five the person next to you. Sit down. Proceed.
MARKDOWN
}

insert 'consider_deploying'

0 comments on commit 9a7034e

Please sign in to comment.