Skip to content

learn-co-students/ror-routes-discussion-questions-atlanta-web-career-102918

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Introduction to Rails discussion questions

Take 30 minutes to discuss the following questions with your table group.

Rails router

  1. What are the seven conventional REST routes for a pizza resource? For each route list the HTTP verb, path and rails controller/action pair

  2. What benefits does naming a route provide? (e.g. get '/pizzas, to: 'pizzas#index, as: 'pizzas')

  3. Assuming you are using the standard REST routes, what rails built-in methods can be used to write concise routes?

Rails Request and Response cycle

  1. What are the steps that Rails will take to implement the use cases below? List the verb/path, controller/action and associated SQL.

    • Display a list of resources
    • Delete a resource
    • Create a new resource
    • Display one resource

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •