问题
When I try load my rails 3.1 app I just get this error. Any ideas?
undefined method 'page_cache_extension' for ActionController::Base:Class
回答1:
somewhere I've read that it could be caused because of empty database - do You have one? Check if there You have any records ;) This resolved my problem with it.
回答2:
I removed the following lines from development.rb
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
Not sure if this is right, but it worked for me.
来源:https://stackoverflow.com/questions/7445917/rails-3-1-0-undefined-method-page-cache-extension-for-actioncontrollerbase