practice  learn from rails tutorial