I\'m using Rails 2.3.x. I would like a small section of code to run if and only if the config.cache_classes is true. By default, that\'s true for production and f
Depending on where you are in a module, you may need to access the root namespace. This should provide access from anywhere in a universal way for rails 3+: