aboutsummaryrefslogtreecommitdiffstats
path: root/railties/generators/mailer/USAGE
diff options
context:
space:
mode:
Diffstat (limited to 'railties/generators/mailer/USAGE')
-rw-r--r--railties/generators/mailer/USAGE27
1 files changed, 0 insertions, 27 deletions
diff --git a/railties/generators/mailer/USAGE b/railties/generators/mailer/USAGE
deleted file mode 100644
index 8cfc7e59c9..0000000000
--- a/railties/generators/mailer/USAGE
+++ /dev/null
@@ -1,27 +0,0 @@
-GENERATOR
- mailer - create mailer and view stub files
-
-SYNOPSIS
- generate mailer MailerName action [action ...]
-
-DESCRIPTION
- The mailer generator takes the name of the new mailer class as the
- first argument and a variable number of mail action names as subsequent
- arguments.
-
- Mailer generates a class file in app/models with action methods for each
- of the mail action names passed, a test suite in test/unit with a stub
- test case and fixture per action, and template stubs for each action in
- app/views under a directory with the same name as the class.
-
-EXAMPLE
- ./script/generate mailer Notifications signup forgot_password invoice
-
- This will generate a Notifications class in
- app/models/notifications.rb, a NotificationsTest in
- test/unit/notifications_test.rb, and signup, forgot_password, and invoice
- in test/fixture/notification. It will also create signup.rhtml,
- forgot_password.rhtml, and invoice.rhtml in app/views/notifications.
-
- The Notifications class will have the following methods: signup,
- forgot_password, and invoice.