diff options
author | Antonio Cangiano <acangiano@gmail.com> | 2008-10-03 01:50:45 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-10-04 13:54:27 +0100 |
commit | f0e90740d0ca35b3fae5cf367334929534c35555 (patch) | |
tree | 8632b5b8f4412b264daf75db7c00951f404f884e /railties/lib | |
parent | 1bc267d21679408b3624d1c697656ec250c01972 (diff) | |
download | rails-f0e90740d0ca35b3fae5cf367334929534c35555.tar.gz rails-f0e90740d0ca35b3fae5cf367334929534c35555.tar.bz2 rails-f0e90740d0ca35b3fae5cf367334929534c35555.zip |
Add IMB DB support to Rails application generator. [#1136 state:resolved]
Usage : rails app_name -d ibm_db
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index 9849948339..acd3dc8c8c 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -5,7 +5,7 @@ class AppGenerator < Rails::Generator::Base DEFAULT_SHEBANG = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']) - DATABASES = %w(mysql oracle postgresql sqlite2 sqlite3 frontbase) + DATABASES = %w(mysql oracle postgresql sqlite2 sqlite3 frontbase ibm_db) DEFAULT_DATABASE = 'sqlite3' default_options :db => (ENV["RAILS_DEFAULT_DATABASE"] || DEFAULT_DATABASE), |