> Any ideas?

I have tried to track this bug with Aptana debugger on Windows.
I'm using Radiant 0.6.2 (gem) with WEBrick server on my development 
machine.

The problem is: ResponseCache instance is not living during whole server 
lifespan. It is recreated on every page request.

First time, when server is being started, ResponseCache instance is 
created with right default options (:perform_caching is false as 
specified in development.rb). But then happily dies.

On every consequent page request ResponseCache is created again, but 
with original defaults as specified in 
radiant-0.6.2/app/models/response_cache.rb.

My solution:
I ended up, modifing radiant-0.6.2/app/models/response_cache.rb on my 
development machine and forcing :perform_caching to be false in 
initialize call.

Caching is disabled as expected, but to see modified content of my 
extension I need hit a browser refresh button two times (maybe it is 
somehow connected to extension caching or rails caching). Anyway, it 
works much better for me now.

That's my $0.02. I'm a ruby, rails and radiant newbie, I may be totally 
wrong.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to