Sha256: 61f5fe0f0a0277ad06fb2a09c030b91231735f8c10e006b3d019cae89914d57d
Contents?: true
Size: 641 Bytes
Versions: 10
Compression:
Stored size: 641 Bytes
Contents
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
Version data entries
10 entries across 10 versions & 1 rubygems