Sha256: 72819baa6c055be0a8c618f0cdbb86b2292f822861c391d296f830b037e41ebf

Contents?: true

Size: 806 Bytes

Versions: 215

Compression:

Stored size: 806 Bytes

Contents

Description:
    Stubs out a new mailer and its views for the given extension.
    Pass the mailer name, either CamelCased or under_scored, 
    and an optional list of emails as arguments.

    This generates a mailer class in app/models, view templates in
    app/views/mailer_name, a unit test in test/unit, and fixtures in
    test/fixtures.

Example:
    `./script/generate extension_mailer MyExt Notifications signup forgot_password invoice`

    creates a Notifications mailer class, views, test, and fixtures:
        Mailer:     vendor/my_ext/app/models/notifications.rb
        Views:      vendor/my_ext/app/views/notifications/signup.erb [...]
        Test:       vendor/my_ext/test/unit/test/unit/notifications_test.rb
        Fixtures:   vendor/my_ext/test/fixtures/notifications/signup [...]

Version data entries

215 entries across 215 versions & 6 rubygems

Version Path
trusty-cms-6.3.1 lib/generators/extension_mailer/USAGE
trusty-cms-7.0.2 lib/generators/extension_mailer/USAGE
trusty-cms-7.0.1 lib/generators/extension_mailer/USAGE
trusty-cms-7.0.0 lib/generators/extension_mailer/USAGE
trusty-cms-6.3 lib/generators/extension_mailer/USAGE
trusty-cms-6.2.1 lib/generators/extension_mailer/USAGE
trusty-cms-6.2.2.1 lib/generators/extension_mailer/USAGE
trusty-cms-6.2.0 lib/generators/extension_mailer/USAGE
trusty-cms-6.1.2 lib/generators/extension_mailer/USAGE
trusty-cms-6.1.1 lib/generators/extension_mailer/USAGE
trusty-cms-6.0.5 lib/generators/extension_mailer/USAGE
trusty-cms-6.0.4 lib/generators/extension_mailer/USAGE
trusty-cms-6.0.3 lib/generators/extension_mailer/USAGE
trusty-cms-6.0.2 lib/generators/extension_mailer/USAGE
trusty-cms-6.0.1 lib/generators/extension_mailer/USAGE
trusty-cms-5.6.1 lib/generators/extension_mailer/USAGE
trusty-cms-6.0.0 lib/generators/extension_mailer/USAGE
trusty-cms-5.6.0 lib/generators/extension_mailer/USAGE
trusty-cms-5.5.9 lib/generators/extension_mailer/USAGE
trusty-cms-5.5.8 lib/generators/extension_mailer/USAGE