Use the Rails Console to check out some of the ActiveRecord Queries. Use the
seed file from the Hospital1 Example. Delete all lines except the Patient
data.
Practice Problem: Set up a scaffold-based project with model Photo,
fields description, and file_name. Write a loop that displays all of the photos in a view
in order of most recent to least recent. Use these photos for your project: dogs-owners.zip.
Ans: See the PhotoGallery Example.
The Depot1 Example
Design and implement Version 1.0 of a Depot project
that implements a shopping cart. (This example starts on Page
91 of the Ruby, Thomas, and Hansson textbook.)