logo
Published on aidanf.net (http://www.aidanf.net)

Rails Basic Auth Generator

A basic user authentication generator for rails.

The authentication system is described in Basic User Authentication in Rails [0]. Creating and using the generator is described in Creating your own generators in rails [0]

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

Download

basic_auth.tar.gz [0], basic_auth.zip [0]


Source URL:
http://www.aidanf.net/rails-basic-auth-generator