lib/neo4j/shared.rb in activegraph-10.0.0.pre.alpha.9 vs lib/neo4j/shared.rb in activegraph-10.0.0.pre.alpha.10

- old
+ new

@@ -8,23 +8,23 @@ include ActiveModel::Serializers::Xml rescue NameError; end # rubocop:disable Lint/HandleExceptions include ActiveModel::Serializers::JSON module ClassMethods - # TODO: Deprecate neo4j_session_name(name) + # TODO: Deprecate neo4j_driver_name(name) # remove? - def neo4j_session + def neo4j_driver Neo4j::ActiveBase.current_driver end # remove? def current_transaction Neo4j::ActiveBase.current_transaction end # This should be used everywhere. Should make it easy - # to support a session-per-model system + # to support a driver-per-model system def neo4j_query(*args) Neo4j::ActiveBase.query(*args) end def new_query