Skip to content

Commit ec757d9

Browse files
committed
combined steps 0 and 1
1 parent 6a42e31 commit ec757d9

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

sites/intermediate_rails/make_a_static_home_page.step renamed to sites/intermediate_rails/create_a_new_rails_app_with_a_static_home_page.step

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
requirements do
22
message <<-MARKDOWN
3-
* There should be a static home page that's under your control.
3+
* You should have a new rails app with with a static home page that's under your control.
44
* You, the developer, should explain to a teacher, TA, or fellow student how Rails knows to render the home view.
55

6-
NB: This is all written assuming you run rails g controller home to create the home controller
76
MARKDOWN
87
end
98

109
discussion do
1110
message <<-MARKDOWN
1211
* In order to have a static home page, you will need a route, a controller, a view. Discuss!
12+
* Seriously. If you don't discuss this stuff, things will be SO much harder.
1313
* We’re using `rails g resource` instead of `rails g scaffold` because it forces you, the developer, to do more understanding-building brain work. The teacher/TAs can perhaps comment on what they would do in the real world and their thoughts on the excellence of this choice for learning-purposes.
1414
* What do you need to add to your home controller (after you've made it) to have a static home page?
1515
* How does the home/index.html.erb view file relate to the layouts/application.html.erb view file?

sites/intermediate_rails/intermediate_rails.step

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ MAJORLY IMPORTANT NOTE: We called the sections challenges because they are chall
3535
* You'll want to spend the bulk of the day on challenges three and four; there's a lot of Rails to do in those two.
3636
MARKDOWN
3737

38-
next_step "review_rails_and_create_a_new_rails_app"
38+
next_step "create_a_new_rails_app_with_a_static_home_page"

sites/intermediate_rails/review_rails_and_create_a_new_rails_app.step

-18
This file was deleted.

0 commit comments

Comments
 (0)