Tag config

16 votes

14372 views

DRY your database.yml

Use YAML's anchor and reference syntax to DRY up your database.yml file.

Comments

by eric
eric

1 votes

3269 views

Check if external gem-dependent classes are defined

If you have to set some external gem's config options in /config/enviroment.rb, contain it within `if defined?` block

Comments

by bartosz
bartosz