aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/helper/USAGE
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/generators/rails/helper/USAGE')
-rw-r--r--railties/lib/generators/rails/helper/USAGE15
1 files changed, 4 insertions, 11 deletions
diff --git a/railties/lib/generators/rails/helper/USAGE b/railties/lib/generators/rails/helper/USAGE
index e74d4b6425..531c9b390a 100644
--- a/railties/lib/generators/rails/helper/USAGE
+++ b/railties/lib/generators/rails/helper/USAGE
@@ -1,12 +1,12 @@
Description:
- Stubs out a new helper. Pass the helper name, either
- CamelCased or under_scored.
+ 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 your test
- framework.
+ This generates a helper class in app/helpers and invokes the configured
+ test framework.
Example:
`./script/generate helper CreditCard`
@@ -15,10 +15,3 @@ Example:
Helper: app/helpers/credit_card_helper.rb
Test: test/unit/helpers/credit_card_helper_test.rb
-Modules Example:
- `./script/generate helper 'admin/credit_card'`
-
- Credit card admin helper.
- Helper: app/helpers/admin/credit_card_helper.rb
- Test: test/unit/helpers/admin/credit_card_helper_test.rb
-