I upgraded our rails application from version 6.0 directly to 7.0. After commenting out the new framework defaults everything seemed to work smoothly but after setting the load_defaults to 7.0 I got the error: No connection pool for 'ActiveRecord::Base' found for the '' role. This let's my application fail on start.
I tried setting config.active_record.legacy_connection_handling = true and this made the application run smooth again but of course I get a deprecation warning from this. I also verified our database.yml but this seems alright too. Has anybody experience with this error message or knows how to resolve it?