Sha256: bdab8420fa4bbc5355a53e6fa38ee149c3d4e64348c0dcb8f7973b4da4455d3f
Contents?: true
Size: 314 Bytes
Versions: 33
Compression:
Stored size: 314 Bytes
Contents
module Protobuf module ActiveRecord module Middleware class ConnectionManagement def initialize(app) @app = app end def call(env) @app.call(env) ensure ::ActiveRecord::Base.clear_active_connections! end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems