blob: 30e323a858dee2a4e9e1d4f84089409b7d2111ad (
plain) (
tree)
|
|
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
|