diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-26 18:54:58 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-26 18:54:58 +0200 |
commit | 3a0619f1bbd44763a827f9f13bccecb597a855db (patch) | |
tree | d3cc7b0694409d08f103f9c40d9ab5dcd8a940d8 /railties/lib/generators/rails/helper/USAGE | |
parent | 2d48f80a6b6420a05758bee300b200ee3802b094 (diff) | |
download | rails-3a0619f1bbd44763a827f9f13bccecb597a855db.tar.gz rails-3a0619f1bbd44763a827f9f13bccecb597a855db.tar.bz2 rails-3a0619f1bbd44763a827f9f13bccecb597a855db.zip |
Update some USAGE files.
Diffstat (limited to 'railties/lib/generators/rails/helper/USAGE')
-rw-r--r-- | railties/lib/generators/rails/helper/USAGE | 15 |
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 - |