On 12 Jun 2008, at 03:56, DHH wrote:


Please, for the sake of sanity, do not change this from the old way unless
you have a better reason than "It's DRYer"

Just for the sake of argument, yaml configs don't have to be repetitive:

defaults: &defaults
  adapter: mysql
  encoding: utf8
  username: rota
  password:
  host: localhost

development:
  <<: *defaults
  database: rota_development

test:
  <<: *defaults
  database: rota_test

but this is quite underused (making the default generated database.yml look like this was discussed a while back)

Fred

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to