diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-08-23 21:40:59 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-08-23 21:41:16 -0500 |
commit | 0d657132b004e71a4e145f36d2c5604f7cdd1f9a (patch) | |
tree | 167a230b1c6333d726c9277b19d4393b891cc15c | |
parent | 3409f2c69187d8b76dea5c2c969f3ef8e4f79e61 (diff) | |
download | rails-0d657132b004e71a4e145f36d2c5604f7cdd1f9a.tar.gz rails-0d657132b004e71a4e145f36d2c5604f7cdd1f9a.tar.bz2 rails-0d657132b004e71a4e145f36d2c5604f7cdd1f9a.zip |
mysql db defaults to mysql2 gem
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index 75418ac689..6eba0f77e7 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -394,6 +394,7 @@ module Rails when "postgresql" then "pg" when "sqlite3" then "sqlite3-ruby" when "frontbase" then "ruby-frontbase" + when "mysql" then "mysql2" else options[:database] end end |