diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-05-11 19:11:29 +0000 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-05-11 19:11:29 +0000 |
commit | d1f7d76dfd0a907c59bfe495de7ac2cf36d71678 (patch) | |
tree | 806f7746e505be48168f42b699a796f228e5376a /railties/lib/rails | |
parent | 7dce1e6d98f78d0cce963456f226811c22bb645d (diff) | |
parent | bad291eb08b8f1e767f03b188527949200a20184 (diff) | |
download | rails-d1f7d76dfd0a907c59bfe495de7ac2cf36d71678.tar.gz rails-d1f7d76dfd0a907c59bfe495de7ac2cf36d71678.tar.bz2 rails-d1f7d76dfd0a907c59bfe495de7ac2cf36d71678.zip |
Merge pull request #15059 from marcioj/patch-1
Replace :base with :in [ci skip]
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb index 67bab96a22..9af6435f23 100644 --- a/railties/lib/rails/generators/base.rb +++ b/railties/lib/rails/generators/base.rb @@ -83,7 +83,7 @@ module Rails # # The first and last part used to find the generator to be invoked are # guessed based on class invokes hook_for, as noticed in the example above. - # This can be customized with two options: :base and :as. + # This can be customized with two options: :in and :as. # # Let's suppose you are creating a generator that needs to invoke the # controller generator from test unit. Your first attempt is: @@ -108,7 +108,7 @@ module Rails # "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: + # need to provide the :in value: # # class AwesomeGenerator < Rails::Generators::Base # hook_for :test_framework, in: :rails, as: :controller |