aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/helper/USAGE
blob: 8855ef3b01522adfa0955454590fa98946571a09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'.

Example:
    `rails generate helper CreditCard`

    Credit card helper.
        Helper:     app/helpers/credit_card_helper.rb