Ruby on Rails
LoginSugar

This article is part of the confusing world of Authentication in Rails. Feel free to help.

This is a modification of the SaltedHashLoginGenerator.

Note: Salt and Sugar are fairly heavyweight systems, if you just need a simple user system check out acts_as_authenticated

login_sugar is a modification of salted_login generator 1.1.1 that works
out of the box on Rails 1.2.3

Changes:

Requires Rails 1.2 or greater.
Rails 2.0: As of version 0.9.5, password validation is broken for Rails 2.0. It was a bug of login_sugar, just remove all the ’@’ sign of ”@password_needs_confirmation” in the model rb file. (by http://omegasharp.com)

Download: Login Sugar Gem 0.9.5

Or gem install login_sugar_generator

CHANGELOG

0.9.5 May 21, 2007 security updates. compatible with rails 1.2.3
v0.9.4 Jan 26 2007 removed scaffold references, removed localization, added generator rake task
v0.9.3 Nov 6 2006 fix Clock.now; symbolize session keys
v0.9.2 Sep 26 2006 fix localization reference in signup form.
v0.9.1 Sep 6 2006 fix missing last_name references.

Installation:


gem install login_sugar_generator

./script/generate login_sugar User Localization