# File lib/active_record/identity_map.rb, line 56 def repository Thread.current[:identity_map] ||= Hash.new { |h,k| h[k] = {} } end