Skip to content

Instantly share code, notes, and snippets.

@akshaymohite
Created July 19, 2017 10:37
Show Gist options
  • Save akshaymohite/eae10b92fc6173278c7577f4bcd4449c to your computer and use it in GitHub Desktop.
Save akshaymohite/eae10b92fc6173278c7577f4bcd4449c to your computer and use it in GitHub Desktop.
ActiveStorage: database.yml
default: &default
adapter: postgresql
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
development:
<<: *default
database: activestorage-demo-development
test:
<<: *default
database: activestorage-demo-test
production:
<<: *default
database: activestorage-demo-production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment