Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix method visibility bug uncovered by #7854.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 3d5c947155934fb498f8788a204ae9f2e03f2f42 1 parent 46f0920
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/associations.rb
View
2  activerecord/lib/active_record/associations.rb
@@ -1499,7 +1499,7 @@ def record_id(row)
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
Please sign in to comment.
Something went wrong with that request. Please try again.