Tag config

16 votes

15451 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

3433 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