In this assignment you will create your first Rails app from scratch: a simple app called RottenPotatoes (inspired by the real web site RottenTomatoes) for cataloging movies. RottenPotatoes lets users interactively (via a Web browser) create database entries for new movies, view or modify the content of movie records (movie title, rating, description, and so on), and delete movie records.
In later assignments, you'll add features to the app, such as the ability to filter the list of movies, the ability to associate reviews with movies, and per-user login so each user can maintain their own ratings of movies.
After this assignment, you should know how to:
- Create a new Rails app from scratch
-
Set up a database to store the Rails models, by writing and executing an initial migration describing the database's schema
-
Create a basic set of controller actions and views to support the CRUD actions (create, read, update, delete) on a resource in a Rails app, and specify HTTP routes that map to the controller actions
-
Run and interact with the app in your development environment, including using the debugger to interactively track down bugs and inspect application state, such as the parameters supplied to a controller action