开发者

Rails 3.1.0 - undefined method `page_cache_extension' for ActionController::Base:Class

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


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜