Workaround Rails.configuration.database_configuration being {}
Workaround Rails.configuration.database_configuration being {}

If you don't have a config/database.yml and only ENV["DATABASE_URL"],
Rails.configuration.database_configuration will be {}, so you'll get an
undefined [] for nil error.

While attempting to fix that in https://github.com/rails/rails/pull/29305,
I was told that it was not intended to be the public interface.  So I'm
changing this PR to always use ActiveRecord::Base.configurations instead.

mfeifer/manageiq,hstastna/manageiq,andyvesel/manageiq,aufi/manageiq,djberg96/manageiq,andyvesel/manageiq,NickLaMuro/manageiq,juliancheal/manageiq,borod108/manageiq,agrare/manageiq,d-m-u/manageiq,gerikis/manageiq,mfeifer/manageiq,pkomanek/manageiq,israel-hdez/manageiq,josejulio/manageiq,agrare/manageiq,jntullo/manageiq,pkomanek/manageiq,mresti/manageiq,chessbyte/manageiq,borod108/manageiq,juliancheal/manageiq,mzazrivec/manageiq,andyvesel/manageiq,lpichler/manageiq,syncrou/manageiq,syncrou/manageiq,ailisp/manageiq,israel-hdez/manageiq,romanblanco/manageiq,d-m-u/manageiq,ailisp/manageiq,romanblanco/manageiq,kbrock/manageiq,jrafanie/manageiq,mresti/manageiq,chessbyte/manageiq,josejulio/manageiq,tzumainn/manageiq,tinaafitz/manageiq,djberg96/manageiq,hstastna/manageiq,ManageIQ/manageiq,djberg96/manageiq,NickLaMuro/manageiq,jameswnl/manageiq,israel-hdez/manageiq,gerikis/manageiq,juliancheal/manageiq,ManageIQ/manageiq,ManageIQ/manageiq,josejulio/manageiq,mfeifer/manageiq,lpichler/manageiq,agrare/manageiq,jrafanie/manageiq,d-m-u/manageiq,tinaafitz/manageiq,mkanoor/manageiq,tinaafitz/manageiq,durandom/manageiq,jameswnl/manageiq,jrafanie/manageiq,billfitzgerald0120/manageiq,gerikis/manageiq,ilackarms/manageiq,jntullo/manageiq,chessbyte/manageiq,gerikis/manageiq,jvlcek/manageiq,lpichler/manageiq,jvlcek/manageiq,skateman/manageiq,jntullo/manageiq,branic/manageiq,aufi/manageiq,mzazrivec/manageiq,tzumainn/manageiq,NickLaMuro/manageiq,matobet/manageiq,jvlcek/manageiq,ailisp/manageiq,agrare/manageiq,matobet/manageiq,jameswnl/manageiq,israel-hdez/manageiq,mzazrivec/manageiq,josejulio/manageiq,jvlcek/manageiq,romanblanco/manageiq,branic/manageiq,skateman/manageiq,billfitzgerald0120/manageiq,matobet/manageiq,mresti/manageiq,matobet/manageiq,gmcculloug/manageiq,mkanoor/manageiq,billfitzgerald0120/manageiq,durandom/manageiq,mresti/manageiq,jntullo/manageiq,aufi/manageiq,chessbyte/manageiq,romanblanco/manageiq,pkomanek/manageiq,hstastna/manageiq,branic/manageiq,jrafanie/manageiq,NickLaMuro/manageiq,tzumainn/manageiq,tinaafitz/manageiq,aufi/manageiq,yaacov/manageiq,mkanoor/manageiq,durandom/manageiq,jameswnl/manageiq,skateman/manageiq,durandom/manageiq,borod108/manageiq,andyvesel/manageiq,juliancheal/manageiq,syncrou/manageiq,djberg96/manageiq,yaacov/manageiq,kbrock/manageiq,skateman/manageiq,ilackarms/manageiq,kbrock/manageiq,yaacov/manageiq,d-m-u/manageiq,yaacov/manageiq,branic/manageiq,ManageIQ/manageiq,lpichler/manageiq,tzumainn/manageiq,borod108/manageiq,pkomanek/manageiq,mfeifer/manageiq,kbrock/manageiq,hstastna/manageiq,syncrou/manageiq,gmcculloug/manageiq,ilackarms/manageiq,ilackarms/manageiq,billfitzgerald0120/manageiq,gmcculloug/manageiq,mzazrivec/manageiq,gmcculloug/manageiq,mkanoor/manageiq,ailisp/manageiq