Sha256: 1812b3f92861317cc922a4b39bfcaab3f6d60bfded2b04f8b0ddf29edabe48dc

Contents?: true

Size: 682 Bytes

Versions: 158

Compression:

Stored size: 682 Bytes

Contents

Description:
============
    Stubs out a new mailer and its views. Pass 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, test, and fixtures:
        Mailer:     app/mailers/notifications.rb
        Views:      app/views/notifications/signup.erb [...]
        Test:       test/functional/notifications_test.rb
        Fixtures:   test/fixtures/notifications/signup [...]

Version data entries

158 entries across 132 versions & 11 rubygems

Version Path
actionmailer-3.2.22.5 lib/rails/generators/mailer/USAGE
actionmailer-3.2.22.4 lib/rails/generators/mailer/USAGE
actionmailer-3.2.22.3 lib/rails/generators/mailer/USAGE
actionmailer-3.2.22.2 lib/rails/generators/mailer/USAGE
actionmailer-3.2.22.1 lib/rails/generators/mailer/USAGE
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.12/lib/rails/generators/mailer/USAGE
actionmailer-3.2.22 lib/rails/generators/mailer/USAGE
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/actionmailer-3.2.12/lib/rails/generators/mailer/USAGE
actionmailer-3.2.21 lib/rails/generators/mailer/USAGE
actionmailer-3.2.20 lib/rails/generators/mailer/USAGE
actionmailer-3.2.19 lib/rails/generators/mailer/USAGE
actionmailer-3.2.18 lib/rails/generators/mailer/USAGE
actionmailer-3.2.17 lib/rails/generators/mailer/USAGE
actionmailer-3.2.16 lib/rails/generators/mailer/USAGE
actionmailer-3.2.15 lib/rails/generators/mailer/USAGE
actionmailer-3.2.15.rc3 lib/rails/generators/mailer/USAGE
actionmailer-3.2.15.rc2 lib/rails/generators/mailer/USAGE
actionmailer-3.2.15.rc1 lib/rails/generators/mailer/USAGE
actionmailer-3.2.14 lib/rails/generators/mailer/USAGE
actionmailer-3.2.14.rc2 lib/rails/generators/mailer/USAGE