1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Touched up wording on the new recommendation stuff for generate models

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2004-12-23 01:08:51 +00:00
parent 4ff4afa579
commit 1f94ac2c45
2 changed files with 7 additions and 7 deletions

View file

@ -26,9 +26,10 @@ unless ARGV.empty?
$stderr.puts msg
if synonyms = find_synonyms(generator.class_name) then
$stderr.puts "", "Here's a few synonyms from WordNets.",
"Maybe they will help you find an alternative name."
$stderr.puts(
"", "Here are a few synonyms from WordNets. Maybe they will help you find an alternative name.",
"", synonyms
)
end
else
generator.generate

View file

@ -126,10 +126,9 @@ module Rails
end
if builtin then
"Sorry, you can't have a #{self.class.generator_name} named\n" +
"'#{full_class_name}' because Ruby or RubyOnRails already has\n" +
"a #{type} with that name. Please rerun the generator with a\n" +
"different name."
"Sorry, you can't have a #{self.class.generator_name} named " +
"'#{full_class_name}' because Ruby or Rails already has a #{type} with that name.\n" +
"Please rerun the generator with a different name."
end
end