Using Rails 3.
This is the most straightforward article on configuring authlogic on Rails 3: http://www.dixis.com/?p=352
There’s only one minor change I had to do, changing this (in ApplicationController):
def store_location session[:return_to] = request.request_uri end
To this:
def store_location session[:return_to] = request.fullpath end
Thanks to:
http://iterat.ive.ly/index.php/2010/09/03/upgrading-your-authlogic-gem-for-rails3/