提交 4309c1fd 编写于 作者: S Santiago Pastorino

perform_caching is now delegated to config on instance and class level

上级 8c7e8976
...@@ -63,8 +63,9 @@ def cache_configured? ...@@ -63,8 +63,9 @@ def cache_configured?
included do included do
extend ConfigMethods extend ConfigMethods
@@perform_caching = true delegate :perform_caching, :perform_caching=, :to => :config
cattr_accessor :perform_caching singleton_class.delegate :perform_caching, :perform_caching=, :to => :config
self.perform_caching = true
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册