Sha256: 048a67a6c7eb4a596ebd15a94d63a8abcf22977c732b35ec3cd82141a064cde1

Contents?: true

Size: 506 Bytes

Versions: 230

Compression:

Stored size: 506 Bytes

Contents

Description:
    Stubs out a new helper. Pass the helper name, either CamelCased
    or under_scored.

    To create a helper within a module, specify the helper name as a
    path like 'parent_module/helper_name'.

    This generates a helper class in app/helpers and invokes the configured
    test framework.

Example:
    `rails generate helper CreditCard`

    Credit card helper.
        Helper:     app/helpers/credit_card_helper.rb
        Test:       test/unit/helpers/credit_card_helper_test.rb

Version data entries

230 entries across 191 versions & 19 rubygems

Version Path
railties-3.0.4.rc1 lib/rails/generators/rails/helper/USAGE
railties-3.0.3 lib/rails/generators/rails/helper/USAGE
railties-3.0.2 lib/rails/generators/rails/helper/USAGE
railties-3.0.1 lib/rails/generators/rails/helper/USAGE
railties-3.0.0 lib/rails/generators/rails/helper/USAGE
railties-3.0.0.rc2 lib/rails/generators/rails/helper/USAGE
railties-3.0.0.rc lib/rails/generators/rails/helper/USAGE
railties-3.0.0.beta4 lib/rails/generators/rails/helper/USAGE
railties-3.0.0.beta3 lib/rails/generators/rails/helper/USAGE
railties-3.0.0.beta2 lib/rails/generators/rails/helper/USAGE