Lets try something like this for loading and parsing the connection configs:

```ruby
def connection_options
  yaml_config.merge(dburl_config || {})
end

def yaml_config
  YAML.load(ERB.new(File.read(@config_path)).result)[Rails.env]
end

def dburl_config
  Dossier::ConnectionUrl.new(ENV['DATABASE_URL']).to_hash if ENV.has_key? 'DATABASE_URL'
end