From 72aa6f4f649a78b1cd8c7d4340fc143a782728db Mon Sep 17 00:00:00 2001 From: Emilio Tagua Date: Thu, 18 Nov 2010 17:23:59 -0300 Subject: identity_map name is used for configuration, use IdentityMap to access it. --- activerecord/lib/active_record/identity_map.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'activerecord/lib/active_record/identity_map.rb') diff --git a/activerecord/lib/active_record/identity_map.rb b/activerecord/lib/active_record/identity_map.rb index 70ea08ee43..3ba75a7b59 100644 --- a/activerecord/lib/active_record/identity_map.rb +++ b/activerecord/lib/active_record/identity_map.rb @@ -63,7 +63,6 @@ module ActiveRecord end alias enabled? enabled - alias identity_map= enabled= end self.enabled = false @@ -85,12 +84,6 @@ module ActiveRecord end end - module ClassMethods - def identity_map - ActiveRecord::IdentityMap - end - end - class Middleware def initialize(app) @app = app -- cgit v1.2.3