This weekend I had the pleasure of leveraging the authlogic gem on Rails 3.1.0.rc4.

It’s pretty straight forward, but the documentation and examples unfortunately haven’t yet caught up and I struggled a bit.

These links for good to get going:

But it was this ascii cast that helped me most understand what was going on

Specifically it explained to me that UserSessions does not require a table (even though the example authlogic example has one in it).

And while Michael Hartl’s Ruby On Rails Tutorial example application is almost exactly the same, there are a few subtle differences username vs name and Session vs UserSession.