hw2 rails homework