A basic user authentication generator for rails.
The authentication system is described in Basic User Authentication in Rails. Creating and using the generator is described in Creating your own generators in rails
Install
Unzip the archive and put the generator directory somewhere that rails looks for generators such as ~/.rails/generators
in your home directory or lib/generators
in your application directory.
Using the generator
> ruby script/generate basic_auth