I recently implemented Authlogic to my project for authentication. I followed http://railscasts.com/episodes/160-authlogic and had it up and running. Wanting to add email confirmation, I found this and followed it: http://github.com/matthooks/authlogic-activation-tutorial
Now, when I try to sign up I get a method missing 'login=' for User model. The example doesn't mention anything about a login method, nor did I have one before.
Here is my user model: http://pastie.org/693910
Any ideas?
Make sure you have the perishable_token string column in your users database table.
Authlogic needs this column not only for reset_perishable_token! but also for the find_using_perishable_token method
Railscasts uses "username"; Matt uses "login".
Change his "login" to "username" and you're done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With