|
Revision 2, 0.8 kB
(checked in by falcon, 17 years ago)
|
|
added plugins
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | acts_as_authenticated generator |
|---|
| 2 | ==== |
|---|
| 3 | |
|---|
| 4 | DEPRECATED: Use restful_authentication instead. Or, ask me for commit rights if you wish to maintain this plugin. |
|---|
| 5 | |
|---|
| 6 | This is a basic authentication generator for rails, very much in the spirit of xal's original Login Generator. |
|---|
| 7 | |
|---|
| 8 | To use: |
|---|
| 9 | |
|---|
| 10 | ./script/generate authenticated user account |
|---|
| 11 | |
|---|
| 12 | This generates a basic user model, a controller, some basic views, and tests. Extra functionality can be unlocked by |
|---|
| 13 | removing the comments for them. I have a few examples such as user activation and reversible encrypted passwords. |
|---|
| 14 | |
|---|
| 15 | The user migration is also generated unless you pass --skip-migration. |
|---|
| 16 | |
|---|
| 17 | Generate your mailer: |
|---|
| 18 | |
|---|
| 19 | ./script/generate authenticated_mailer user |
|---|
| 20 | |
|---|
| 21 | Consult the Acts As Authenticated wiki for more: http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated |
|---|
| 22 | |
|---|