Fixed that the overwritten respond_to? method didn't take two parameters like the original #391

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 846f0d5a
...@@ -22,8 +22,8 @@ def to_ary ...@@ -22,8 +22,8 @@ def to_ary
@collection.to_ary @collection.to_ary
end end
def respond_to?(symbol) def respond_to?(symbol, include_priv = false)
proxy_respond_to?(symbol) || [].respond_to?(symbol) proxy_respond_to?(symbol, include_priv) || [].respond_to?(symbol, include_priv)
end end
def loaded? def loaded?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册