Login Gems For Ruby on Rails
Most people have probably already worked this out but if you're new to rails or new to rails login components, you probably want to use Login Generator and avoid Salted Login Generator like the plague.
Login Generator is extremely quick and easy to get up and running with, is made up of a small amount of clean code, has no dependencies and works with Ruby on Rails 0.13.
Salted Login Generator on the other hand is crap. Sorry to the author of Salted Login Generator for putting it so harshly but it really is a mess and has caused me a huge number of headaches. The feature creep seems to be what killed it – the localization is particularly problematic and makes all the code horrendously messy but depending on a firstname and lastname field in the database is bad too (should have just had login and let each application decide how and if to store the user's real name). If it were trimmed back so it just focussed on handling authentication it would probably be a lot better for it.

August 19th, 2006 at 1:57 am
Thanks for this note. I’ve been pulling my hair out with the SaltedLogin Generator, and since this is my first project in Rails, it was relaly turning me off. If Login Generator is as easy as you say, I should be up and running in no time.
August 24th, 2006 at 2:01 pm
I have to say that logingenerator is quick and painless. Just set it up and I’m new to rails.
October 9th, 2006 at 7:27 pm
Hi AJ,
How to prevent concurrent access in login_generator.I have to design in such a way,it allows only the lastly logged in person.Other one has to be displayed a message “session expired”.
November 4th, 2006 at 11:41 pm
Hi,
A more comprehensive solution along similar lines is Goldberg (goldberg.240gl.org). It offers logins/user management, as well as role-based security, site navigation via menus (which are dynamic depending on each user’s role), a choice of layouts, and a simple CMS. And it’s free software.