In this application, we will finally take everything we've learned about RCAV and put it together with what we've learned about models and database tables to create a functioning CRUD (Create, Read, Update, Delete) web application.
First, we'll allow users to create, retrieve, update, and delete pictures.
- Clone
cdinto the appbundle installrake db:migrateto create a pictures table (I already generated the model and migration files for you)- Something new:
rake db:seed - Start up your Rails Console and check out your pictures table. How many pictures are there currently?