mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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
This commit is contained in:
@@ -22,8 +22,8 @@ module ActiveRecord
|
||||
@collection.to_ary
|
||||
end
|
||||
|
||||
def respond_to?(symbol)
|
||||
proxy_respond_to?(symbol) || [].respond_to?(symbol)
|
||||
def respond_to?(symbol, include_priv = false)
|
||||
proxy_respond_to?(symbol, include_priv) || [].respond_to?(symbol, include_priv)
|
||||
end
|
||||
|
||||
def loaded?
|
||||
|
||||
Reference in New Issue
Block a user