Auth is a project mainly written in RUBY and JAVASCRIPT, it's free.
Authentication and remember me using Rails 3.1.rc4