Parent

Methods

Files

Class Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::ConnectionManagement

Public Class Methods

new(app) click to toggle source
     # File lib/active_record/connection_adapters/abstract/connection_pool.rb, line 348
348:       def initialize(app)
349:         @app = app
350:       end

Public Instance Methods

call(env) click to toggle source
     # File lib/active_record/connection_adapters/abstract/connection_pool.rb, line 352
352:       def call(env)
353:         @app.call(env)
354:       ensure
355:         # Don't return connection (and perform implicit rollback) if
356:         # this request is a part of integration test
357:         unless env.key?("rack.test")
358:           ActiveRecord::Base.clear_active_connections!
359:         end
360:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.