For the rails tutorial