-
What is the purpose of the router in a Rails project?
-
What routes would be provided to you with the line
resources :items
? -
What does
root :to => "items#index"
represent? How would you access that route in a web app? -
What rake task is useful when looking at routes, and what information does it give you?
-
How would you interpret this output:
items GET /items(.:format) items#index
-
What is one major similiarity between Rails routing + controllers and the Sinatra projects we've been building?
-
What is one major difference between Rails routing + controllers and the Sinatra projects we've been building?
Created
October 26, 2015 01:24
-
-
Save rwarbelow/c3575b4e49641c02fe18 to your computer and use it in GitHub Desktop.
Intro to Rails Routing Warm-Up Questions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/zackforbing/e6e3a97c338f163b09178d78be801f1b