Closed tjchambers closed 7 months ago
I worry a bit about cross compatibility here. What is going to happen with earlier versions of rails?
You separated the pre 6.1 code out, which is all that I changed. I mean I only changed post 6.0 code. And in our project we are running both 6.0 and 6.1 and now they run the same.
Happy to try this, any idea why CI is failing?
In Rail 6.1 the information return is from an
ActiveRecord::DatabaseConfigurations::HashConfig
object, with methods for some but not all of the configuration attributes. This fixes a bug whereedatabase
andhost
had getter methods, but theusername
andport
values did not. All values are now just fetched from the instance variable configuration_hash directly.This fixes #187