提交 b5f908a7 编写于 作者: J Jon Leighton

Stub find_template so that when handle_render_error is called in...

Stub find_template so that when handle_render_error is called in ActionView::Template, we get to see the actual underlying error rather than a NoMethodError.

This shows an encoding bug on Ruby 1.9.3.
上级 d4861035
......@@ -8,6 +8,9 @@ class LookupContext
def disable_cache
yield
end
def find_template(*args)
end
end
class Context
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册