Rails 2.2 sweeping error

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:incallback’

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs