Description:
¶ ↑
Stubs out a new notifier and its views. Passes the notifier name, either CamelCased or under_scored, and an optional list of topics as arguments. This generates a notifier class in app/notifiers and invokes your template engine and test framework generators.
Example:
¶ ↑
rails generate notifier AccountsNotifier signup forgot_password creates a AccountsNotifier notifier class, views, and test: Notifier: app/notifiers/accounts_notifier.rb Views: app/views/accounts_notifier/signup.text.erb [...] Test: test/notifiers/accounts_notifier_test.rb