Skip to content

Commit

Permalink
IdentityMap is enabled by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
miloops committed Nov 19, 2010
1 parent a62f722 commit 4f3b8e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions activerecord/lib/active_record/identity_map.rb
Expand Up @@ -9,9 +9,11 @@ module ActiveRecord
#
# == Configuration
#
# In order to activate IdentityMap, set <tt>config.active_record.identity_map = true</tt>
# In order to disable IdentityMap, set <tt>config.active_record.identity_map = false</tt>
# in your <tt>config/application.rb</tt> file.
#
# IdentityMap is enabled by default.
#
module IdentityMap
extend ActiveSupport::Concern

Expand Down Expand Up @@ -63,7 +65,7 @@ def clear

self.repositories ||= Hash.new
self.current_repository_name ||= :default
self.enabled = false
self.enabled = true

module InstanceMethods
# Reinitialize an Identity Map model object from +coder+.
Expand Down

0 comments on commit 4f3b8e1

Please sign in to comment.