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