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:
- The HTTP Verb and URL (ie 'GET '/dogs'')
- The rails controller action (ie 'dogs#index')
- The corresponding CRUD action (ie 'READ)
- The corresponding ActiveRecord method (ie 'all')
- Displays all of the projects
- Displays information about one project
- Creates a new project based on given parameters
- Updates an existing project with given parameters
- Deletes an existing project