Skip to content

Commit

Permalink
removed an unneed AS::Concern from AR::IdentityMap
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed May 9, 2011
1 parent 5b48495 commit d9f95c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions activerecord/lib/active_record/identity_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module ActiveRecord
# IdentityMap is disabled by default.
#
module IdentityMap
extend ActiveSupport::Concern

class << self
def enabled=(flag)
Expand Down Expand Up @@ -53,7 +52,7 @@ def get(klass, primary_key)

if record.is_a?(klass)
ActiveSupport::Notifications.instrument("identity.active_record",
:line => "From Identity Map (id: #{primary_key})",
:line => "From Identity Map (id: #{primary_key})",
:name => "#{klass} Loaded",
:connection_id => object_id)

Expand Down

0 comments on commit d9f95c7

Please sign in to comment.