Sha256: 06e4a499c256d92f2efb2011f56cd1d14e06a29f6f9ded5d4e356ae7b3abb1d0

Contents?: true

Size: 199 Bytes

Versions: 24

Compression:

Stored size: 199 Bytes

Contents

module Fishplate
  class Rack
    def initialize(app)
      @app = app
    end

    def call(env)
      @app.call(env)
    ensure
      ActiveRecord::Base.clear_active_connections!
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
fishplate-7.0.6 lib/fishplate/rack.rb
fishplate-7.0.5 lib/fishplate/rack.rb
fishplate-7.0.4 lib/fishplate/rack.rb
fishplate-7.0.2 lib/fishplate/rack.rb
fishplate-7.0.1 lib/fishplate/rack.rb
fishplate-7.0.0 lib/fishplate/rack.rb
fishplate-7.0.0.beta lib/fishplate/rack.rb
fishplate-1.1.3 lib/fishplate/rack.rb
fishplate-1.1.2 lib/fishplate/rack.rb
fishplate-1.1.1 lib/fishplate/rack.rb
fishplate-1.1.0 lib/fishplate/rack.rb
fishplate-1.0.6 lib/fishplate/rack.rb
fishplate-1.0.5 lib/fishplate/rack.rb
fishplate-1.0.4 lib/fishplate/rack.rb
fishplate-1.0.3 lib/fishplate/rack.rb
fishplate-1.0.2 lib/fishplate/rack.rb
fishplate-1.0.1 lib/fishplate/rack.rb
fishplate-1.0.0 lib/fishplate/rack.rb
fishplate-0.4.1 lib/fishplate/rack.rb
fishplate-0.4.0 lib/fishplate/rack.rb