minor fixes to rails tutorial