I have fresh Rails 2.2 install, thing is that everything work fine until I use scaffold generator.
$ script/generate scaffold pages \
title:string description:string content:text
$ rake db:migrate
But when I launch server with this address: http://localhost:3000/pages/ I get this:
NoMethodError in PagesController#index
undefined method `find' for ActionController::Caching::Pages:Module
app/controllers/pages_controller.rb:5:in 'index'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in 'send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in 'perform_action_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:617:in 'call_filters'
...
I can't get what I've done wrong? Is that new Rails specific stuff?