DEfusion
2007-Mar-03 16:57 UTC
config.cache_classes value ignored in development mode under Apache 2
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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- Windows, Segmentation Faults, config.load_paths and config.cache_classes
- config.cache_classes true or false in test environment?
- edge rails config.cache_classes = true breaks applications
- Weird active record problem - goes away with cache_classes change
- Problem with belongs_to associations validating associated class: bug in rails in development mode?