removed an unneed AS::Concern from AR::IdentityMap
This commit is contained in:
parent
5b4849598a
commit
d9f95c76a4
@ -15,7 +15,6 @@ module ActiveRecord
|
||||
# IdentityMap is disabled by default.
|
||||
#
|
||||
module IdentityMap
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
class << self
|
||||
def enabled=(flag)
|
||||
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user