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.2.11.3 lib/rails/generators/mailer/USAGE
actionmailer-4.2.11.2 lib/rails/generators/mailer/USAGE
actionmailer-4.2.11.1 lib/rails/generators/mailer/USAGE
actionmailer-4.2.11 lib/rails/generators/mailer/USAGE
actionmailer-4.2.10 lib/rails/generators/mailer/USAGE
actionmailer-4.2.10.rc1 lib/rails/generators/mailer/USAGE
actionmailer-4.2.9 lib/rails/generators/mailer/USAGE
actionmailer-4.2.9.rc2 lib/rails/generators/mailer/USAGE
actionmailer-4.2.9.rc1 lib/rails/generators/mailer/USAGE
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/actionmailer-4.2.8/lib/rails/generators/mailer/USAGE
actionmailer-4.2.8 lib/rails/generators/mailer/USAGE
actionmailer-4.2.8.rc1 lib/rails/generators/mailer/USAGE
actionmailer-4.2.7.1 lib/rails/generators/mailer/USAGE
actionmailer-4.2.7 lib/rails/generators/mailer/USAGE
actionmailer-4.1.16 lib/rails/generators/mailer/USAGE
actionmailer-4.1.16.rc1 lib/rails/generators/mailer/USAGE
actionmailer-4.2.7.rc1 lib/rails/generators/mailer/USAGE
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/rails/generators/mailer/USAGE
actionmailer-4.1.15 lib/rails/generators/mailer/USAGE
actionmailer-4.2.6 lib/rails/generators/mailer/USAGE