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.16 lib/rails/generators/rails/helper/USAGE
railties-4.1.16.rc1 lib/rails/generators/rails/helper/USAGE
railties-4.1.15 lib/rails/generators/rails/helper/USAGE
railties-4.1.15.rc1 lib/rails/generators/rails/helper/USAGE
railties-4.1.14.2 lib/rails/generators/rails/helper/USAGE
railties-4.1.14.1 lib/rails/generators/rails/helper/USAGE
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/railties-4.1.13/lib/rails/generators/rails/helper/USAGE
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/railties-4.1.13/lib/rails/generators/rails/helper/USAGE
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/railties-4.1.13/lib/rails/generators/rails/helper/USAGE
railties-4.1.14 lib/rails/generators/rails/helper/USAGE
railties-4.1.14.rc2 lib/rails/generators/rails/helper/USAGE
railties-4.1.14.rc1 lib/rails/generators/rails/helper/USAGE
railties-4.1.13 lib/rails/generators/rails/helper/USAGE
railties-4.1.13.rc1 lib/rails/generators/rails/helper/USAGE
railties-4.1.12 lib/rails/generators/rails/helper/USAGE
railties-4.1.12.rc1 lib/rails/generators/rails/helper/USAGE
railties-4.1.11 lib/rails/generators/rails/helper/USAGE
railties-4.1.10 lib/rails/generators/rails/helper/USAGE
railties-4.1.10.rc4 lib/rails/generators/rails/helper/USAGE
railties-4.1.10.rc3 lib/rails/generators/rails/helper/USAGE