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
cheat sheets.
$ cheat database_yml( add new | see all )
- updated sheets

- mysql_select
- cheat
- cryptsetup
- burm
- perl
- port
- yuilang
- queriac
- mechanize
- sness
- nonsense
- haml
- git
- assert_valid
- marsmission
Advertisement