Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- <% require 'uri' %>
- <% url = URI.parse(ENV["DATABASE_URL"]) %>
- production:
- adapter: <%= url.scheme %>
- database: <%= url.path.gsub("/", "") %>
- username: <%= url.user %>
- password: <%= url.password %>
- host: <%= url.host %>
- port:
- reconnect: true
Add Comment
Please, Sign In to add comment