following one month rails tutorial