J
Jason James
I am having a problem with my hashed_password.
I am following the lessons in the apress beginning rails book.
Here is my issue:
def password_required?
hashed_password.blank? || !password.blank?
end
Ruby is calling this method out as a problem.
Error message from the web server:
undefined local variable or method `hashed_password' for #<User id: nil,
login: "", email: "", hashed_passwd: nil>
I am stuck!
I am following the lessons in the apress beginning rails book.
Here is my issue:
def password_required?
hashed_password.blank? || !password.blank?
end
Ruby is calling this method out as a problem.
Error message from the web server:
undefined local variable or method `hashed_password' for #<User id: nil,
login: "", email: "", hashed_passwd: nil>
I am stuck!