mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user