Skip to content

Commit 0d65713

Browse files
author
David Heinemeier Hansson
committed
mysql db defaults to mysql2 gem
1 parent 3409f2c commit 0d65713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

railties/lib/rails/generators/rails/app/app_generator.rb

+1
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ def gem_for_database
394394
when "postgresql" then "pg"
395395
when "sqlite3" then "sqlite3-ruby"
396396
when "frontbase" then "ruby-frontbase"
397+
when "mysql" then "mysql2"
397398
else options[:database]
398399
end
399400
end

0 commit comments

Comments
 (0)