This repository was archived by the owner on Jan 10, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME
More file actions
31 lines (23 loc) · 1.33 KB
/
README
File metadata and controls
31 lines (23 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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