2
Stubs out a new mailer and its views. Pass the mailer name, either
3
CamelCased or under_scored, and an optional list of emails as arguments.
5
This generates a mailer class in app/models, view templates in
6
app/views/mailer_name, a unit test in test/unit, and fixtures in
10
`./script/generate mailer Notifications signup forgot_password invoice`
12
creates a Notifications mailer class, views, test, and fixtures:
13
Mailer: app/models/notifications.rb
14
Views: app/views/notifications/signup.erb [...]
15
Test: test/unit/test/unit/notifications_test.rb
16
Fixtures: test/fixtures/notifications/signup [...]