Sha256: 30bfc5a1756eb1d402e67eb25be7a68a83ed42d17f2bfa209fbf2c65da3b2304
Contents?: true
Size: 775 Bytes
Versions: 102
Compression:
Stored size: 775 Bytes
Contents
default: &default adapter: <%= @database == 'mysql' ? 'mysql2' : 'postgresql' %> encoding: utf8 pool: <%%= ENV["DB_POOL"] || 5 %> database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_development' %> <% if @database == 'mysql' -%> username: <%%= ENV['DB_USER'] || 'root' %> <% else -%> username: <%%= ENV['DB_USER'] || ENV['USER'] %> <% end -%> password: <%%= ENV['DB_PASS'] %> host: <%%= ENV["DB_HOST"] %> url: <%%= ENV['DATABASE_URL'] %> # takes higher precedence than other settings development: <<: *default database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_development' %> test: <<: *default database: <%= @project_name %>_test production: <<: *default database: <%= @project_name %>_production url: <%%= ENV['DATABASE_URL'] %>
Version data entries
102 entries across 102 versions & 3 rubygems