Forum: Ruby on Rails Using caches_action ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Erik (Guest)
on 2006-05-31 06:21

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 (Guest)
on 2006-05-31 17:45
Erik wrote:

> Dev environment (xp, ruby184, rails112)

Fwiw, rolling back to ruby182 did the trick
This topic is locked and can not be replied to.