Parent

Methods

Files

Class Index [+]

Quicksearch

ActiveRecord::IdentityMap::Middleware

Public Class Methods

new(app) click to toggle source
     # File lib/active_record/identity_map.rb, line 150
150:       def initialize(app)
151:         @app = app
152:       end

Public Instance Methods

call(env) click to toggle source
     # File lib/active_record/identity_map.rb, line 154
154:       def call(env)
155:         enabled = IdentityMap.enabled
156:         IdentityMap.enabled = true
157:         status, headers, body = @app.call(env)
158:         [status, headers, Body.new(body, enabled)]
159:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.