Verifying/Dumping Application Configuration

I’m in the process of upgrading a legacy Rails app to 7.0, I just finished enabling all of the new config defaults specified in config/initializers/new_framework_defaults_7_0.rb and the app and test suite all look good. However, I see a few test failures when I bump the config.load_defaults method parameter to “7.0”, without deleting the new framework defaults file.

I’ve triple checked and enabled everything in the defaults file, made the required changes to config/application.rb based on the documentation and I’m seeing no obvious omissions or errors in my implementation.

I’d love a way to interrogate the state of my application configuration comprehensively to see what’s changed with the load_defaults parameter change. My view is that the contents of Rails.application.config has grown quite large and trying to roll a quick script to dump its full state is proving challenging.

This is probably a larger feature request, but I’m curious to know what the community’s general feelings are around this topic