lib/active_graph/shared.rb in activegraph-10.0.0.pre.beta.4 vs lib/active_graph/shared.rb in activegraph-10.0.0.pre.beta.5
- old
+ new
@@ -8,21 +8,9 @@
include ActiveModel::Serializers::Xml
rescue NameError; end # rubocop:disable Lint/HandleExceptions
include ActiveModel::Serializers::JSON
module ClassMethods
- # TODO: Deprecate neo4j_driver_name(name)
-
- # remove?
- def neo4j_driver
- ActiveGraph::Base.driver
- end
-
- # remove?
- def current_transaction
- ActiveGraph::Base.current_transaction
- end
-
# This should be used everywhere. Should make it easy
# to support a driver-per-model system
def neo4j_query(*args)
ActiveGraph::Base.query(*args)
end