Sha256: 653d9f0840b770291554fbce6cb65fcb758f0eb457dcaaa955cad1d0162c7b3a

Contents?: true

Size: 636 Bytes

Versions: 126

Compression:

Stored size: 636 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_mailer.rb
        Views:      app/views/notifications_mailer/signup.text.erb [...]
        Test:       test/mailers/notifications_mailer_test.rb

Version data entries

126 entries across 126 versions & 8 rubygems

Version Path
actionmailer-5.2.2.1 lib/rails/generators/mailer/USAGE
actionmailer-5.1.6.2 lib/rails/generators/mailer/USAGE
actionmailer-5.0.7.2 lib/rails/generators/mailer/USAGE
actionmailer-6.0.0.beta2 lib/rails/generators/mailer/USAGE
actionmailer-6.0.0.beta1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.2 lib/rails/generators/mailer/USAGE
actionmailer-5.2.2.rc1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.1.1 lib/rails/generators/mailer/USAGE
actionmailer-5.1.6.1 lib/rails/generators/mailer/USAGE
actionmailer-5.0.7.1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.1.rc1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.0 lib/rails/generators/mailer/USAGE
actionmailer-5.1.6 lib/rails/generators/mailer/USAGE
actionmailer-5.0.7 lib/rails/generators/mailer/USAGE
actionmailer-5.2.0.rc2 lib/rails/generators/mailer/USAGE
actionmailer-5.1.5 lib/rails/generators/mailer/USAGE
actionmailer-5.1.5.rc1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.0.rc1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.0.beta2 lib/rails/generators/mailer/USAGE