Fixes issue with database adapter in database.yml configuration.