lib/templates/rails/database.yml.erb in capitate-0.2.3 vs lib/templates/rails/database.yml.erb in capitate-0.2.5
- old
+ new
@@ -2,7 +2,6 @@
adapter: mysql
encoding: utf8
database: <%= db_name %>
username: <%= db_user %>
password: <%= db_pass %>
- <%= "host: #{db_host}" unless db_host.blank? %>
- <%= "socket: #{db_socket}" unless db_socket.blank? %>
+ <%= "#{db_connect_type}: #{db_connect}" %>