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 350
350:       def initialize(app)
351:         @app = app
352:       end

Public Instance Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.