homework for ruby on rails course