RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ayayalar
You mentioned it is important to name the field password_digest when you created the model. However then the model/view/controller uses password. Does rails somehow know how to match password to password_digest?
If I use a name pass_digest, would rails match to pass?