Permalink
Browse files

No need to specify clear is a method from IM when we are inside IM.

  • Loading branch information...
1 parent d9c0340 commit b2b5d0237b0dcd859e52510b258e9d66cfc3ad8c @miloops miloops committed Nov 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/identity_map.rb
@@ -37,7 +37,7 @@ def use
yield if block_given?
ensure
self.enabled = old
- ActiveRecord::IdentityMap.clear
+ clear
end
def without

0 comments on commit b2b5d02

Please sign in to comment.