Permalink
Browse files

Using different constant.

  • Loading branch information...
1 parent 2b4a7ca commit 110de0f0764eee59f378fbcf16e01c1757ffa617 @arunagw arunagw committed Jun 11, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -154,7 +154,9 @@ module Generators
plugin runner test]
class AppGenerator < Base
- DATABASES = %w( mysql oracle postgresql sqlite3 frontbase ibm_db jdbcmysql jdbcsqlite3 jdbcpostgresql )
+ JDBC_DATABASES = %w( jdbcmysql jdbcsqlite3 jdbcpostgresql )
+ DATABASES = %w( mysql oracle postgresql sqlite3 frontbase ibm_db )
+ DATABASES.concat(JDBC_DATABASES)
attr_accessor :rails_template
add_shebang_option!

0 comments on commit 110de0f

Please sign in to comment.