finished rails tutorial