rails homework lab1