aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/base.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-02-03 18:49:47 +0100
committerJosé Valim <jose.valim@gmail.com>2010-02-03 18:49:47 +0100
commitefa850558facf2fbaaf226f1444802da83924b82 (patch)
tree236380296b0d0f54f5d2e6d8523930d72e9ff645 /railties/lib/rails/generators/base.rb
parent391f2543c96a9b3de4e44f4ea6aeee2f53ad9e5c (diff)
downloadrails-efa850558facf2fbaaf226f1444802da83924b82.tar.gz
rails-efa850558facf2fbaaf226f1444802da83924b82.tar.bz2
rails-efa850558facf2fbaaf226f1444802da83924b82.zip
Make bin/rails call rails/commands/application, fix generators usage and update .gitignores.
Diffstat (limited to 'railties/lib/rails/generators/base.rb')
-rw-r--r--railties/lib/rails/generators/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb
index ec0659032f..dfa0d573c9 100644
--- a/railties/lib/rails/generators/base.rb
+++ b/railties/lib/rails/generators/base.rb
@@ -261,7 +261,7 @@ module Rails
# Use Rails default banner.
#
def self.banner
- "#{$0} #{generator_name} #{self.arguments.map{ |a| a.usage }.join(' ')} [options]"
+ "rails generate #{generator_name} #{self.arguments.map{ |a| a.usage }.join(' ')} [options]"
end
# Sets the base_name taking into account the current class namespace.