Sha256: a7b4fa6a7306af9ca7035992958df39feb3a900e6c85a49cbecab9b24ebb1095

Contents?: true

Size: 615 Bytes

Versions: 125

Compression:

Stored size: 615 Bytes

Contents

Description:
============
    Stubs out 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.

Example:
========
    rails generate mailer Notifications signup forgot_password invoice

    creates a Notifications mailer class, views, and test:
        Mailer:     app/mailers/notifications.rb
        Views:      app/views/notifications/signup.text.erb [...]
        Test:       test/mailers/notifications_test.rb

Version data entries

125 entries across 121 versions & 9 rubygems

Version Path
actionmailer-4.1.2.rc2 lib/rails/generators/mailer/USAGE
actionmailer-4.0.6.rc2 lib/rails/generators/mailer/USAGE
actionmailer-4.1.2.rc1 lib/rails/generators/mailer/USAGE
actionmailer-4.0.6.rc1 lib/rails/generators/mailer/USAGE
actionmailer-4.0.5 lib/rails/generators/mailer/USAGE
actionmailer-4.1.1 lib/rails/generators/mailer/USAGE
actionmailer-4.1.0 lib/rails/generators/mailer/USAGE
actionmailer-4.1.0.rc2 lib/rails/generators/mailer/USAGE
actionmailer-4.0.4 lib/rails/generators/mailer/USAGE
actionmailer-4.0.4.rc1 lib/rails/generators/mailer/USAGE
actionmailer-4.1.0.rc1 lib/rails/generators/mailer/USAGE
actionmailer-4.1.0.beta2 lib/rails/generators/mailer/USAGE
actionmailer-4.0.3 lib/rails/generators/mailer/USAGE
actionmailer-4.1.0.beta1 lib/rails/generators/mailer/USAGE
actionmailer-4.0.2 lib/rails/generators/mailer/USAGE
actionmailer-4.0.1 lib/rails/generators/mailer/USAGE
actionmailer-4.0.1.rc4 lib/rails/generators/mailer/USAGE
actionmailer-4.0.1.rc3 lib/rails/generators/mailer/USAGE
actionmailer-4.0.1.rc2 lib/rails/generators/mailer/USAGE
actionmailer-4.0.1.rc1 lib/rails/generators/mailer/USAGE