Skip to content

Instantly share code, notes, and snippets.

@kzkn
Created May 18, 2018 02:52
Show Gist options
  • Save kzkn/adeaccb07ee61c861453ce703dd128d9 to your computer and use it in GitHub Desktop.
Save kzkn/adeaccb07ee61c861453ce703dd128d9 to your computer and use it in GitHub Desktop.
database.yml sample
default: &default
adapter: postgresql
encoding: unicode
# For details on connection pooling, see Rails configuration guide
# http://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: localhost
port: 54394
development:
<<: *default
database: worker_test_development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment