Sha256: 3529d245714c1a2926631bd7dd503670433cbe4909d53a88ffa798f365784048
Contents?: true
Size: 196 Bytes
Versions: 2
Compression:
Stored size: 196 Bytes
Contents
class DisableConnectionPooling::ClearAllConnections def initialize(app) @app = app end def call(env) @app.call(env) ensure ActiveRecord::Base.clear_all_connections! end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
disable_connection_pooling-0.1.0 | lib/disable_connection_pooling/clear_all_connections.rb |
disable_connection_pooling-0.0.1 | lib/disable_connection_pooling/clear_all_connections.rb |