jenlaister / restful-kickstarter-challenge-web-1116

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RESTFUL challenge

Kickstarter

Welcome to Kickstarter. Assume we have a model called Project that inherits from ActiveRecord::Base, a corresponding table called projects, and a controller called ProjectsController that inherits from ApplicationController

For each of the following descriptions, write out the corresponding:

  1. The HTTP Verb and URL (ie 'GET '/posts'')
  2. The rails controller action (ie 'posts#index')
  3. The corresponding CRUD action (ie 'READ)
  4. The corresponding ActiveRecord method (ie 'all')
  5. The corresponding SQL (ie 'SELECT * FROM posts')

Actions

  1. Displays all of the projects
  2. Displays information about one project
  3. Displays a form to create a new project
  4. Creates a new project based on given parameters
  5. Displays a form to update an existing project
  6. Updates an existing project with given parameters
  7. Deletes an existing project

About

License:Other