Forum: JRuby Rails 2.2 sweeping error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 AD (Guest)
on 2008-12-22 18:51
(Received via mailing list)
Hello,

 I posted this on the rails forum , but since I am running Jruby 1.1.6
figured i would post here.  When using cache sweeping with rails 2.2 i
am
seeing the following error

A NoMethodError occurred in content#import:

 undefined method `controller_name' for nil:NilClass
 /usr/local/tomcat/webapps/myapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching/sweeping.rb:83:in
`callback'

We are running the acts_as_audited plugin which uses cache sweepers.
When
we set

config.action_controller.perform_caching to "false" this error goes
away.

Anyone have any ideas here?

Thanks
Adam
This topic is locked and can not be replied to.