CS 369 Homework 2 Rails Chapter 2