following the rails tutorial