cheat sheets.

$ cheat database_yml
DRY out your database.yml
From: http://blog.bleything.net/articles/2006/06/27/dry-out-your-database-yml

login: &login
  adapter: mysql
  username: username
  password: password
  host: mysql.example.com

development:
  <<: *login
  database: app_dev

test:
  <<: *login
  database: app_test

production:
  <<: *login
  database: app_prod
Version 2, updated 828 days ago.
. o 0 ( | previous | history | revert to | current | diff )
( add new | see all )