提交 f868c2af 编写于 作者: W wycats

response_body is an Array in 1.9, so an Array was being pushed onto the cache

上级 e1c030ed
......@@ -92,6 +92,8 @@ def _save_fragment(name, options)
return unless caching_allowed?
content = response_body
content = content.join if content.is_a?(Array)
write_fragment(name, content, options)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册