Skip to content

tom-brown/fortune-teller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fortune Teller

Setup

  1. bin/setup
  2. bin/server
  3. Preview running application

Getting Started video

You'll find a brief Getting Started video for this project in Canvas. You should still read this README thoroughly. (The video is from before we started using Cloud9, so wherever you see localhost:3000, instead imagine your Cloud9 Preview URL.)

Study static routes

This app currently supports two routes: /lucky_numbers and unlucky_numbers.

Open up the RCAV Flowchart 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.

Debug static routes

I've added a list of nav links to /zodiacs/leo, zodiacs/cancer, etc.

Currently, none of them work. In 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:

Uncomment each route ONE AT A TIME and debug it

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 RCAV Flowchart.

I've planted at least one bug into each RCAV.

YOUR JOB: Debug all 12 RCAVs.

For example, the video describes how to fix the first zodiac -- Aries.

Submitting

rails grade:all when you're ready for feedback/to submit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 87.5%
  • HTML 10.3%
  • CSS 1.3%
  • Other 0.9%