Any clues on why I'm getting cache_sweeper undefined to any controller
on Rails 2.1?
NoMethodError (undefined method `cache_sweeper' for
CommentsController:Class):
/app/controllers/comments_controller.rb:5
/vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_without_new_constant_marking'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_file'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in
`load_file'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in
`require_or_load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in
`load_missing_constant'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in
`const_missing_not_from_s3_library'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/aws-s3-0.5.1/lib/aws/s3/extensions.rb:174:in
`const_missing'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in
`const_missing'
/vendor/rails/activesupport/lib/active_support/inflector.rb:285:in
`constantize'
/vendor/rails/activesupport/lib/active_support/inflector.rb:284:in
`each'
/vendor/rails/activesupport/lib/active_support/inflector.rb:284:in
`constantize'
/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:143:in
`constantize'
/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:387:in
`recognize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:148:in
`handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in
`process'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in
`synchronize'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in
`process'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`each'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`new'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`new'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`run'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in
`run'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in
`each'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in
`run'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in
`run'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in
`run'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in
`load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in
`load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in
`load'
/vendor/rails/railties/lib/commands/servers/mongrel.rb:64
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
/vendor/rails/railties/lib/commands/server.rb:39
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
script/server:3
-Fabio.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---