We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d643a6e commit 4e764f6Copy full SHA for 4e764f6
lib/graphiti/adapters/active_record.rb
@@ -304,7 +304,7 @@ def destroy(model_instance)
304
end
305
306
def close
307
- if ::ActiveRecord.version > Gem::Version.new("7.2")
+ if ::ActiveRecord.version > Gem::Version.new("7.1")
308
::ActiveRecord::Base.connection_handler.clear_active_connections!
309
else
310
::ActiveRecord::Base.clear_active_connections!
0 commit comments