diff options
author | John Crepezzi <seejohnrun@github.com> | 2019-07-23 15:55:48 -0400 |
---|---|---|
committer | John Crepezzi <seejohnrun@github.com> | 2019-07-24 16:31:24 -0400 |
commit | 396dba08741b2c1d5a41debbb4bbde799c9f2a31 (patch) | |
tree | a7e29cc3e0dfc322347f29678530e47ec2d1e708 /actionpack/lib/action_dispatch/middleware/stack.rb | |
parent | 9c913116c634fe5fe2159a94b8f1a244801a4877 (diff) | |
download | rails-396dba08741b2c1d5a41debbb4bbde799c9f2a31.tar.gz rails-396dba08741b2c1d5a41debbb4bbde799c9f2a31.tar.bz2 rails-396dba08741b2c1d5a41debbb4bbde799c9f2a31.zip |
Fix multiple database support for DATABASE_URL env variable
This commit fixes an issue where multi-database configurations were
incompatible with setting a `DATABASE_URL` environment variable.
As part of this work, this commit also includes a light refactor
to make both multi and single database configurations lead into the same
code path so they behave the same.
As mentioned in #36736, this regression was introduced as part of
f2ad69fe7a605b01bb7c37eeac6a9b4e7deb488e
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/stack.rb')
0 files changed, 0 insertions, 0 deletions