database.yml.erb 303 B

12345678
  1. <%= @rails_env %>:
  2. adapter: <%= @database['adapter'] %>
  3. host: <%= @host %>
  4. database: <%= @database['database'] %>
  5. username: <%= @database['username'] %>
  6. password: <%= @database['password'] %>
  7. encoding: <%= @database.has_key?('encoding') ? @database['encoding'] : 'utf8' %>
  8. reconnect: true