view config/database.yml.example @ 384:7ba798dee39d

No need to assign to variable when it can be just chained.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:59:29 +0900
parents bcca41003e84
children
line wrap: on
line source

# Copy this to "database.yml" and adjust the fields accordingly.
# Should work with any adapter.
login: &login
  adapter: postgresql
  pool: 5
  username: zp
  password: silica
  host: 127.0.0.1

development:
  database: zeropaste_dev
  <<: *login

test:
  database: zeropaste_test
  <<: *login

production:
  database: zeropaste
  <<: *login