diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-29 03:43:17 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-29 03:43:17 -0800 |
commit | 65ff9a19ac60a4042f265342a1b3b2acc5b0c7a1 (patch) | |
tree | ad26feb7040a7bb839a9ec87836d9f862cd35739 | |
parent | afd9512c0b4ff98f3fec2ff9fd78d430b2ace974 (diff) | |
parent | 73f0588fd3d457b2191e9393f87262defb2c0af4 (diff) | |
download | rails-65ff9a19ac60a4042f265342a1b3b2acc5b0c7a1.tar.gz rails-65ff9a19ac60a4042f265342a1b3b2acc5b0c7a1.tar.bz2 rails-65ff9a19ac60a4042f265342a1b3b2acc5b0c7a1.zip |
Merge pull request #4230 from alovak/patch-1
Fix rails/generators/base.rb documentation for hook_for
-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 # |