Rails class hw2