Using erb to render the database.yml

This is actually what rails allows you to do. So one could actually have something 
like <%= ENV['key'] %> inside the configuration.