Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mysql db defaults to mysql2 gem

  • Loading branch information...
commit 822fa17c6c0f159eeff01c8fb251e13666f50357 1 parent 04aa14f
David Heinemeier Hansson dhh authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  railties/lib/rails/generators/rails/app/app_generator.rb
1  railties/lib/rails/generators/rails/app/app_generator.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.