binarylogic / authlogic_example

An example rails app using the Authlogic authentication library
http://authlogicexample.binarylogic.com
567 stars 108 forks source link

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

Open deepakprasanna opened 15 years ago

deepakprasanna commented 15 years ago

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

rsyring commented 14 years ago

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.