$ command line ruby cheat sheets
Cheat Sheet Title: [ no_spaces_alphanumeric_only ]
Cheat Sheet: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 port: 3306 development: <<: *login database: app_domain_com_d test: <<: *login database: app_domain_com_t production: <<: *login database: app_domain_com_p
Your cheat sheet will be editable (fixable) by anyone. Each cheat sheet is essentially a wiki page. It may also be used by millions of people for reference purposes from the comfort of their command line. If this is okay with you, please save.
Advertisement