Sha256: 64411d495cc4bf65edf1dbc8cef95b9dc7bb1f412755ebd8c64c03372b804980
Contents?: true
Size: 728 Bytes
Versions: 41
Compression:
Stored size: 728 Bytes
Contents
Description: Generates a new mailer and its views. Passes the mailer name, either CamelCased or under_scored, and an optional list of emails as arguments. This generates a mailer class in app/mailers and invokes your template engine and test framework generators. Examples: `bin/rails generate mailer sign_up` creates a sign up mailer class, views, and test: Mailer: app/mailers/sign_up_mailer.rb Views: app/views/sign_up_mailer/signup.text.erb [...] Test: test/mailers/sign_up_mailer_test.rb `bin/rails generate mailer notifications sign_up forgot_password invoice` creates a notifications mailer with sign_up, forgot_password, and invoice actions.
Version data entries
41 entries across 41 versions & 5 rubygems