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-5.2.3 lib/generators/extension_mailer/USAGE
trusty-cms-5.2.2 lib/generators/extension_mailer/USAGE
trusty-cms-5.2.1 lib/generators/extension_mailer/USAGE
trusty-cms-5.2.0 lib/generators/extension_mailer/USAGE
trusty-cms-5.1.0 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.9 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.7 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.6 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.5 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.4 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.3 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.2 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.1 lib/generators/extension_mailer/USAGE
trusty-cms-4.3.5 lib/generators/extension_mailer/USAGE
trusty-cms-5.0.0 lib/generators/extension_mailer/USAGE
trusty-cms-4.3.4 lib/generators/extension_mailer/USAGE
trusty-cms-4.3.3 lib/generators/extension_mailer/USAGE
trusty-cms-4.3.2 lib/generators/extension_mailer/USAGE
trusty-cms-4.3.1 lib/generators/extension_mailer/USAGE
trusty-cms-4.3 lib/generators/extension_mailer/USAGE