Dumping Rails configuration

How to access all configuration settings from environment.rb and (for
example) development.rb from a running Rails application?

I want to do something like:

<%= Rails.whole_configuration_hash.inspect %>

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs