trying to learn bit of rails with practice