Skip to content

Commit

Permalink
mysql db defaults to mysql2 gem
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Aug 24, 2010
1 parent 04aa14f commit 822fa17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/generators/rails/app/app_generator.rb
Expand Up @@ -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
Expand Down

0 comments on commit 822fa17

Please sign in to comment.