I am using require 'digest/sha1' to encrypt my password and save into
database. During login it is showing the following error-
undefined local variable or method `encrypted_password' for
#Signin:0x992c990
code:
before_save :encrypt_password
def has_password?(submitted_password)
rake aborted!
/home/Mahesh/uma/myapp/Rakefile:6: unterminated string meets end of file
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load'
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
2 matches
Mail list logo