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?
Hi Ryan,
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?