Only merge DATABASE_URL settings into the current env
This commit fixes a regression where when the `DATABASE_URL` environment variable was set and the current Rails environment had a valid configuration defined in the database config, settings from the environment variable would affect _all_ environments (not just the current one).
Showing
想要评论请 注册 或 登录