- Where is everyone? #
- Watching The Day the Earth Stood Still #
- There’s something you don’t hear anymore… ‘Reports coming in from all over the empire’ #
- Klatoo barada nikto #
- @gavinblair ttscc? in reply to gavinblair #
December 15th, 2008
15
Dec 08
Keeping database.yml dry
That would be dry as in Don’t Repeat Yourself
defaults: &defaults adapter: mysql encoding: utf8 username: root password: root #Wherever mysqld.sock is located socket: /opt/local/var/run/mysql5/mysqld.sock development: database: blog_development <<: *defaults test: database: blog_test <<: *defaults production: database: blog_production <<: *defaults