Ruby Flare

Your awesome Tagline

Posts tagged authentication

24 notes

Upgrading authlogic for Rails 3

If you are experiencing this error when trying to upgrade your Authlogic-powered app to Rails 3:

undefined method `underscore' for nil:NilClass

Then, try using this fork/commit instead. It fixes a bug where you have used a different name for the authentication model. In my case, we used Login instead of the standard convention of UserSession used by Authlogic.

Filed under authentication