authlogic_example icon indicating copy to clipboard operation
authlogic_example copied to clipboard

undefined method `password' for #<User:0xb60b9814>

Open deepakprasanna opened this issue 16 years ago • 1 comments

Hi,I followed your tutorial to setup Authlogic. I am getting this error when i try to create a new user. Full trace

http://pastie.org/614421

deepakprasanna avatar Sep 12 '09 06:09 deepakprasanna

Make sure your User class is using acts_as_authentic:

#app/models/user.rb
class User < ActiveRecord::Base
    acts_as_authentic
end

I did all kinds of troubleshooting and had somehow removed this when troubleshooting a different problem.

rsyring avatar Jan 04 '10 05:01 rsyring