Password_salt

I have been working a mthed that encryptes a password. It is something
that I have done a few times before but I am getting a message saying:

Can’t find method password_salt

In my model I am doing require ‘digest/sha2’, which I thought would
solve all my problems. Am I supposed to be making other modifications in
another file in order to use methods like password_salt and
password_hash? Thanks,

~S

password_salt and password_hash are not methods of any ruby library.
most likely you need to make sure they are columns in your model’s
table