--- database_yml version 4 Sat Feb 10 08:43:53 +0000 2007 +++ database_yml version 5 Mon Oct 22 18:41:28 +0000 2007 @@ -1,26 +1,27 @@ DRY out your database.yml From: http://blog.bleything.net/articles/2006/06/27/dry-out-your-database-yml Updated with a more universal database naming scheme, which better accomodates multiple instances of the same application. ----- login: &login adapter: mysql username: username password: password - host: mysql.example.com + # host: mysql.example.com + encoding: utf8 port: 3306 development: <<: *login database: app_domain_com_d test: <<: *login database: app_domain_com_t production: <<: *login database: app_domain_com_p
cheat sheets.
$ cheat database_yml( add new | see all )
- updated sheets

- shoulda
- capistrano
- rpm
- string
- sqld4r
- cheat_el
- cheat
- magit
- to_i
- bm
- rails_date_formats
- sequel
- dexagogo_form_validation
- git
- git_remote_branch
Advertisement