Using caches_action?


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 at 2006-05-31
03:13:19) [GET]
Session ID: d6f7ef15f479250fd7e31e252d70f5ff
Parameters: {“action”=>“view_thread”, “id”=>“6”,
Fragment read: localhost:3006/forum/view_thread/6 (0.00000)
Filter chain halted as
returned false
Completed in 0.01000 (100 reqs/sec) | DB: 0.00000 (0%) | 200 OK

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 wrote:

Dev environment (xp, ruby184, rails112)

Fwiw, rolling back to ruby182 did the trick