Source: show | on GitHub
# File activerecord/lib/active_record/identity_map.rb, line 150 def initialize(app) @app = app end
# 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