Hi
When I enable action caching in my controller with
caches_action :view_thread
only the first part of my layout template is rendered (up to the yield
statement), and the development.log shows
Processing ForumController#view_thread (for 127.0.0.1 at 2006-05-31
03:13:19) [GET]
Session ID: d6f7ef15f479250fd7e31e252d70f5ff
Parameters: {"action"=>"view_thread",
"id"=>"6",
"controller"=>"forum"}
Fragment read: localhost:3006/forum/view_thread/6 (0.00000)
Filter chain halted as
[#<Proc:0x034a2c08@C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:226>]
returned false
Completed in 0.01000 (100 reqs/sec) | DB: 0.00000 (0%) | 200 OK
[localhost/forum/view_thread/6]
Fwiw, I''ve changed environment.rb to enable caching (page caching works
fine) with
config.action_controller.perform_caching = true
Dev environment (xp, ruby184, rails112)
Any ideas ?
Erik
--
Posted via ruby-forum.com.