Permalink
Browse files

mysql db defaults to mysql2 gem

  • Loading branch information...
1 parent 04aa14f commit 822fa17c6c0f159eeff01c8fb251e13666f50357 @dhh dhh committed Aug 24, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -394,6 +394,7 @@ def gem_for_database
when "postgresql" then "pg"
when "sqlite3" then "sqlite3-ruby"
when "frontbase" then "ruby-frontbase"
+ when "mysql" then "mysql2"
else options[:database]
end
end

0 comments on commit 822fa17

Please sign in to comment.