ckesurf / restful-kickstarter-challenge

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 '/dogs'')
  2. The rails controller action (ie 'dogs#index')
  3. The corresponding CRUD action (ie 'READ)
  4. The corresponding ActiveRecord method (ie 'all')

Actions

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

About

License:Other