Welcome Guest | Login

Forcing Typo to use new code

I've just starting using Typo to run my blog.  I've found a couple of bugs, but tracking them down is really hard because Typo seems to use the old version of files, so that if I put calls to logger.info, they get ignored.  I have a couple of times been able to force Typo to update by accident, but have no idea how to do it on purpose.  My app is running with fastcgi.  Any ideas?

Lisa

2008-05-23 08:38 AM

In case anyone else is having this problem, this is a setting within Typo.  Take a look in config/environments/production.rb.  There are 3 lines related to caching:

config.cache_classes =  true
config.action_controller.consider_all_requests_local =  false
config.action_controller.perform_caching             =  true

I flipped all of the boolean values and Typo would run my changed files.  Not sure if you have to flip all 3, but, there you go!


2008-05-23 02:07 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!