- From your Cloud9 repositories list, set up a workspace as usual.
- Set up the project:
bin/setup
- Start the web server by clicking "Run Project".
- Navigate to your live application preview.
- As you work, remember to navigate to
/git
often and always be committing. - Run
rails grade
to confirm that you've completed a task, but don't userails grade
to debug — use the error messages in the browser/server log to debug; they are far more helpful than the test failure messages.
This app currently supports two routes: /lucky_numbers
and unlucky_numbers
.
Open up the Routing Chapter and use it as a map to follow how each of these two pages is working, from config/routes.rb
through the app/controllers/
and finally to the app/views/
.
unlucky_numbers.html.erb
even demonstrates how to do a .each
within a .html.erb
View Template. Ask a question about anything that you don't understand about these two fully-functional RCAVs.
I've added a list of nav links to /zodiacs/leo
, /zodiacs/cancer
, etc.
Currently, none of them work. In config/routes.rb
, you'll see that I've added 12 routes but commented them all out. Each RCAV is broken in some way.
Uncomment each one ONE AT A TIME and make it work.
Let me say that again:
ONE
AT
A
TIME
If you uncomment them all at once, you'll have lots of problems because they all have bugs in them.
Refer frequently to the Routing Chapter.
I've planted at least one bug into each RCAV.
YOUR JOB: Debug all 12 RCAVs.
rails grade
when you're ready for feedback/to submit.