-
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
jeneve
commented
Apr 4, 2016
<script src="https://gist.github.com/jeneve/2b935eb7a73e74877e63097b536d4121.js"></script>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment