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-4.2.3 lib/generators/extension_mailer/USAGE
trusty-cms-4.2.2 lib/generators/extension_mailer/USAGE
trusty-cms-4.2.1 lib/generators/extension_mailer/USAGE
trusty-cms-4.2 lib/generators/extension_mailer/USAGE
trusty-cms-4.1.9 lib/generators/extension_mailer/USAGE
trusty-cms-3.8.2 lib/generators/extension_mailer/USAGE
trusty-cms-3.8.1 lib/generators/extension_mailer/USAGE
trusty-cms-3.8.0 lib/generators/extension_mailer/USAGE
trusty-cms-3.7.1 lib/generators/extension_mailer/USAGE
trusty-cms-3.7.0 lib/generators/extension_mailer/USAGE
trusty-cms-3.6.2 lib/generators/extension_mailer/USAGE
trusty-cms-3.6.1 lib/generators/extension_mailer/USAGE
trusty-cms-3.6.0 lib/generators/extension_mailer/USAGE
trusty-cms-3.5.5 lib/generators/extension_mailer/USAGE
trusty-cms-3.5.4 lib/generators/extension_mailer/USAGE
trusty-cms-3.5.3 lib/generators/extension_mailer/USAGE
trusty-cms-3.5.2 lib/generators/extension_mailer/USAGE
trusty-cms-3.5.1 lib/generators/extension_mailer/USAGE
trusty-cms-3.5.0 lib/generators/extension_mailer/USAGE
trusty-cms-3.4.0 lib/generators/extension_mailer/USAGE