Methods
C
N
Class Public methods
new(app)
# File activerecord/lib/active_record/identity_map.rb, line 150
def initialize(app)
  @app = app
end
Instance Public methods
call(env)
# File activerecord/lib/active_record/identity_map.rb, line 154
def call(env)
  enabled = IdentityMap.enabled
  IdentityMap.enabled = true
  status, headers, body = @app.call(env)
  [status, headers, Body.new(body, enabled)]
end