I just had the same problem.
I was doing this on Cloud9.
I noticed that my tests weren't all running either.
Refreshing my file tree fixed both these problems.
I didn't need to put :password or :password_confirmation directly in the model (or making any coding changes at all from the tutorial.