Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit f65c20241608a716a024b58ed95bd82b0adad588 1 parent 82c1fed
@dhh dhh authored
View
2  railties/lib/rails_generator/generators/components/model/model_generator.rb
@@ -29,7 +29,7 @@ def manifest
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)
Please sign in to comment.
Something went wrong with that request. Please try again.