From 339e9d2443ef8be7e441f8b27c80ef93501edfae Mon Sep 17 00:00:00 2001 From: Nic Barthelemy Date: Wed, 28 Aug 2024 14:54:28 -0700 Subject: [PATCH] Fix deprecated call in activerecord adapter --- lib/graphiti/adapters/active_record.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graphiti/adapters/active_record.rb b/lib/graphiti/adapters/active_record.rb index c290f92c..873c6dc9 100644 --- a/lib/graphiti/adapters/active_record.rb +++ b/lib/graphiti/adapters/active_record.rb @@ -304,7 +304,7 @@ def destroy(model_instance) end def close - ::ActiveRecord::Base.clear_active_connections! + ::ActiveRecord::Base.connection_handler.clear_active_connections! end def can_group?