RailsCasts Pro episodes are now free!

Learn more or hide this

Arif Yayalar's Profile

GitHub User: ayayalar

Site: www.arifyayalar.info

Comments by Arif Yayalar

Avatar

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?