Sha256: 97d5c29ab9fd579fbc969749a5fc7974c6b454cd3674f136e9fca3dcf816d6bb

Contents?: true

Size: 501 Bytes

Versions: 74

Compression:

Stored size: 501 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/helpers/credit_card_helper_test.rb

Version data entries

74 entries across 74 versions & 4 rubygems

Version Path
railties-4.1.0.beta2 lib/rails/generators/rails/helper/USAGE
railties-4.0.3 lib/rails/generators/rails/helper/USAGE
railties-4.1.0.beta1 lib/rails/generators/rails/helper/USAGE
railties-4.0.2 lib/rails/generators/rails/helper/USAGE
railties-4.0.1 lib/rails/generators/rails/helper/USAGE
railties-4.0.1.rc4 lib/rails/generators/rails/helper/USAGE
railties-4.0.1.rc3 lib/rails/generators/rails/helper/USAGE
railties-4.0.1.rc2 lib/rails/generators/rails/helper/USAGE
railties-4.0.1.rc1 lib/rails/generators/rails/helper/USAGE
challah-1.0.0 vendor/bundle/gems/railties-4.0.0/lib/rails/generators/rails/helper/USAGE
railties-4.0.0 lib/rails/generators/rails/helper/USAGE
railties-4.0.0.rc2 lib/rails/generators/rails/helper/USAGE
railties-4.0.0.rc1 lib/rails/generators/rails/helper/USAGE
railties-4.0.0.beta1 lib/rails/generators/rails/helper/USAGE