Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
acts_as_authenticated generator
====
------------------------------------------------------------------
DEPRECATED: Use restful_authentication instead. 
http://github.com/technoweenie/restful-authentication/tree/master
------------------------------------------------------------------
AAA was created by technoweenie.
I have salved the source code from technoweenie + wiki for future referance.

This is a basic authentication generator for rails, very much in the spirit of xal's original Login Generator.

To use:
1) Install the plugin
  ./ruby script/plugin install git://github.com/gundestrup/acts_as_authenticated.git
2) create the model + controller
  ./script/generate authenticated user account

This generates a basic user model, a controller, some basic views, and tests.  Extra functionality can be unlocked by
removing the comments for them.  I have a few examples such as user activation and reversible encrypted passwords.

The user migration is also generated unless you pass --skip-migration.

Generate your mailer:

  ./script/generate authenticated_mailer user

Consult the Acts As Authenticated wiki for more: http://wiki.github.com/gundestrup/acts_as_authenticated
This is the source code, that technoweenie created.
I have since updated the code to work with newer versions of Ruby on Rails 2.

Source is released under: GPLv3 Licence

About

acts_as_authenticated Ruby on Rails authentication system

Resources

Packages

No packages published

Languages