Fix method visibility bug uncovered by #7854.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2007-03-18 03:32:48 +00:00
parent 46f092097b
commit 3d5c947155

View File

@@ -1499,7 +1499,7 @@ module ActiveRecord
end
def instantiate(row)
@cached_record[record_id(row)] ||= active_record.instantiate(extract_record(row))
@cached_record[record_id(row)] ||= active_record.send(:instantiate, extract_record(row))
end
end