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-6.0.6.1 lib/rails/generators/mailer/USAGE
actionmailer-6.0.6 lib/rails/generators/mailer/USAGE
actionmailer-6.0.5.1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.8.1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.8 lib/rails/generators/mailer/USAGE
actionmailer-6.0.5 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4.8 lib/rails/generators/mailer/USAGE
actionmailer-5.2.7.1 lib/rails/generators/mailer/USAGE
actionmailer-5.2.7 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4.7 lib/rails/generators/mailer/USAGE
actionmailer-5.2.6.3 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4.6 lib/rails/generators/mailer/USAGE
actionmailer-5.2.6.2 lib/rails/generators/mailer/USAGE
actionmailer-5.2.6.1 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4.5 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4.4 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4.3 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4.2 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4.1 lib/rails/generators/mailer/USAGE
actionmailer-6.0.4 lib/rails/generators/mailer/USAGE