diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-25 19:04:52 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-25 19:04:52 +0000 |
commit | f65c20241608a716a024b58ed95bd82b0adad588 (patch) | |
tree | ddd38468678739c14048e4515999973fb2798993 /railties | |
parent | 82c1fed89fe6dae8f44b6647dd94fc68f01eaa81 (diff) | |
download | rails-f65c20241608a716a024b58ed95bd82b0adad588.tar.gz rails-f65c20241608a716a024b58ed95bd82b0adad588.tar.bz2 rails-f65c20241608a716a024b58ed95bd82b0adad588.zip |
Use the correct generator name in the docs (closes #9111) [ceefour]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails_generator/generators/components/model/model_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/model/model_generator.rb b/railties/lib/rails_generator/generators/components/model/model_generator.rb index fccf30211a..dc33786b72 100644 --- a/railties/lib/rails_generator/generators/components/model/model_generator.rb +++ b/railties/lib/rails_generator/generators/components/model/model_generator.rb @@ -29,7 +29,7 @@ class ModelGenerator < Rails::Generator::NamedBase protected def banner - "Usage: #{$0} generate ModelName [field:type, field:type]" + "Usage: #{$0} #{spec.name} ModelName [field:type, field:type]" end def add_options!(opt) |