Hi All,
I am a newbie and playing around with restful_authentication in my sample app. The associated code for user.rb is pasted below. When I try to run the server, i get the following error. I am using Rails 2.0.2. Could anyone point me as to what am i missing?
Line no 66: # Encrypts some data with the salt.
Line no 67:
def self.encrypt(password, salt)
Line no 68:
Digest::SHA1.hexdigest("–#{salt}–#{password}–")
Line no 69:
end