# Config.cache\_classes value ignored in development mode under

**URL:** <https://www.ruby-forum.com/t/config-cache-classes-value-ignored-in-development-mode-under/87541>\
**Category:** Rails\
**Created:** [March 3, 2007, 5:58pm UTC](https://www.ruby-forum.com/t/config-cache-classes-value-ignored-in-development-mode-under/87541 "2007-03-03T17:58:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DEfusion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e68b1a/32.png) [@DEfusion](https://www.ruby-forum.com/u/DEfusion)\
**Post date:** [March 3, 2007, 5:58pm UTC](https://www.ruby-forum.com/t/config-cache-classes-value-ignored-in-development-mode-under/87541/1 "2007-03-03T17:58:17Z")

</div>

I’m running latest version of RoR under Apache 2 (using a virtual  
host), if I change the environment config within the virtual host  
(SetEnv RAILS\_ENV development) then it changes environment as  
expected.

However when I’m working with views and not the model I would like  
have RoR cache the model files, I have tried changing the value of  
config.cache\_classes to true in the config/environment/development.rb  
file but that doesn’t seem to make any difference.

I’ve not tried WEBrick or anything else, I just jumped straight into  
Apache 2 as that is how it will be deployed on the live servers.

Any ideas why this isn’t working?
