diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-11-18 19:28:40 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-11-19 19:09:01 -0300 |
commit | b2b5d0237b0dcd859e52510b258e9d66cfc3ad8c (patch) | |
tree | 298d5ab3223a54025cfbc401bb3a849b3016a3e7 /activerecord/lib/active_record | |
parent | d9c0340ac3da67ae880d3a53c8bca8169daf0f29 (diff) | |
download | rails-b2b5d0237b0dcd859e52510b258e9d66cfc3ad8c.tar.gz rails-b2b5d0237b0dcd859e52510b258e9d66cfc3ad8c.tar.bz2 rails-b2b5d0237b0dcd859e52510b258e9d66cfc3ad8c.zip |
No need to specify clear is a method from IM when we are inside IM.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/identity_map.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/identity_map.rb b/activerecord/lib/active_record/identity_map.rb index f8b65294f2..438287d3ea 100644 --- a/activerecord/lib/active_record/identity_map.rb +++ b/activerecord/lib/active_record/identity_map.rb @@ -37,7 +37,7 @@ module ActiveRecord yield if block_given? ensure self.enabled = old - ActiveRecord::IdentityMap.clear + clear end def without |