
undefined method `password' on Rails 2.3.1
Reported by josemx | June 19th, 2009 @ 07:20 PM
http://github.com/binarylogic/authlogic_example/tree/master
the example app does not work on Rails 2.3.2 with the Authlogic gem
2.0.14
NoMethodError in Users#new
Showing app/views/users/_form.erb where line #5 raised:
undefined method `password' for #User:0x249f6e0
Comments and changes to this ticket
-
Ben Johnson June 20th, 2009 @ 04:33 AM
- State changed from new to open
That's strange. I'm using authlogic in my 2.3.2 app just fine. I'll play around with that app and update it.
Thanks!
-
Ben Johnson June 20th, 2009 @ 04:38 AM
- State changed from open to resolved
I updated the example app: http://authlogicexample.binarylogic.com and it seems to be working fine.
-
Charles Melbye September 2nd, 2009 @ 05:45 PM
Could you guys share the fix that you used? I'm still having problems with this.
My /users/new action works perfectly locally in development, but on Heroku it's giving that exception and the error.
-
Rearts zbaerves January 14th, 2022 @ 10:17 AM
- Tag set to password heroku
I think I found the problem. If authlogic is installed as an initializer, it takes precedence over the model, so I had to remove everything from the initializers folder to get professional proofreading services working. Good reminder that sometimes there can be conflicting gems, and you have to dig a little deeper to figure it out!
-
-
Garry Mooren May 16th, 2022 @ 05:26 AM
If authlogic is set as an initializer, it takes precedence over the model, so I had to remove everything from the initializers folder to get the assignment help in Australia to work. A good reminder that sometimes there can be conflicting gems and you need to dig a little deeper to figure it out!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.