aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-06-17 18:18:51 +0200
committerJosé Valim <jose.valim@gmail.com>2009-06-19 16:11:54 +0200
commit01cde132909368656464d80019c2600aa9e5ec16 (patch)
tree8f5954f18f55f4a0edc475e40a5bd6edf8bd3111
parent30fff3077dedd83d2c777ad1b86b3238fee20ccb (diff)
downloadrails-01cde132909368656464d80019c2600aa9e5ec16.tar.gz
rails-01cde132909368656464d80019c2600aa9e5ec16.tar.bz2
rails-01cde132909368656464d80019c2600aa9e5ec16.zip
Updated namespace so help can show usage properly.
-rw-r--r--railties/lib/generator/generators/app.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/generator/generators/app.rb b/railties/lib/generator/generators/app.rb
index 2b3ba345a0..c775d0da12 100644
--- a/railties/lib/generator/generators/app.rb
+++ b/railties/lib/generator/generators/app.rb
@@ -5,6 +5,8 @@ require 'active_support/secure_random'
module Rails::Generators
class App < Base
+ namespace :rails
+
DEFAULT_SHEBANG = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])
DATABASES = %w( mysql oracle postgresql sqlite2 sqlite3 frontbase ibm_db )
DEFAULT_DATABASE = 'sqlite3'