Sha256: aa26d8c8c29b8680adb6cea2f4b3358b79c4c30dbbdcf752fdcb3ffd0f43facf
Contents?: true
Size: 316 Bytes
Versions: 22
Compression:
Stored size: 316 Bytes
Contents
require 'active_record' require 'bbk/app/middlewares/base' module BBK module App module Middlewares class ActiveRecordPool < Base def call(msg) ::ActiveRecord::Base.connection_pool.with_connection do app.call(msg) end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems