I am running a Rails 7.0 app with ActiveGraph 11.4.0 and see a deprecation warning when the app starts:
DEPRECATION WARNING: ActiveSupport::PerThreadRegistry is deprecated and will be removed in Rails 7.1.
Use Module#thread_mattr_accessor instead.
It references the line in application.rb which calls require 'active_graph/railtie'.
It looks like ActiveSupport::PerThreadRegistry is included here: https://github.com/neo4jrb/activegraph/blob/master/lib/active_graph/node/scope.rb#L147. Since that block of code references following ActiveRecord, perhaps whatever the latest ActiveRecord is doing could be used there as well?
Thank you.
I am running a Rails 7.0 app with ActiveGraph 11.4.0 and see a deprecation warning when the app starts:
It references the line in
application.rbwhich callsrequire 'active_graph/railtie'.It looks like
ActiveSupport::PerThreadRegistryis included here: https://github.com/neo4jrb/activegraph/blob/master/lib/active_graph/node/scope.rb#L147. Since that block of code references following ActiveRecord, perhaps whatever the latest ActiveRecord is doing could be used there as well?Thank you.