提交 6c2d167c 编写于 作者: N Nicholas Seckar

Abort broken tighter resolution suppression. Closes #4431

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 d0e8d543
......@@ -1242,8 +1242,6 @@ def compute_type(type_name)
begin
instance_eval(modularized_name)
rescue NameError => e
first_module = modularized_name.split("::").first
raise unless e.to_s.include? first_module
instance_eval(type_name)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册