diff options
author | Pavel Gabriel <alovak@gmail.com> | 2011-12-29 13:33:01 +0200 |
---|---|---|
committer | Pavel Gabriel <alovak@gmail.com> | 2011-12-29 13:33:01 +0200 |
commit | 73f0588fd3d457b2191e9393f87262defb2c0af4 (patch) | |
tree | ad26feb7040a7bb839a9ec87836d9f862cd35739 /railties/lib | |
parent | afd9512c0b4ff98f3fec2ff9fd78d430b2ace974 (diff) | |
download | rails-73f0588fd3d457b2191e9393f87262defb2c0af4.tar.gz rails-73f0588fd3d457b2191e9393f87262defb2c0af4.tar.bz2 rails-73f0588fd3d457b2191e9393f87262defb2c0af4.zip |
Fix rails/generators/base.rb documentation for hook_for
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/base.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb index af743a9c51..a98244c525 100644 --- a/railties/lib/rails/generators/base.rb +++ b/railties/lib/rails/generators/base.rb @@ -91,7 +91,7 @@ module Rails # # The lookup in this case for test_unit as input is: # - # "test_framework:awesome", "test_framework" + # "test_unit:awesome", "test_unit" # # Which is not the desired the lookup. You can change it by providing the # :as option: @@ -102,7 +102,7 @@ module Rails # # And now it will lookup at: # - # "test_framework:controller", "test_framework" + # "test_unit:controller", "test_unit" # # Similarly, if you want it to also lookup in the rails namespace, you just # need to provide the :base value: @@ -113,7 +113,7 @@ module Rails # # And the lookup is exactly the same as previously: # - # "rails:test_framework", "test_framework:controller", "test_framework" + # "rails:test_unit", "test_unit:controller", "test_unit" # # ==== Switches # |