lib/fishplate/rack.rb in fishplate-7.0.6 vs lib/fishplate/rack.rb in fishplate-7.1.0
- old
+ new
@@ -5,9 +5,9 @@
end
def call(env)
@app.call(env)
ensure
- ActiveRecord::Base.clear_active_connections!
+ ActiveRecord::Base.connection_handler.clear_active_connections!
end
end
end