lib/neo4j/session_manager.rb in neo4j-8.0.0.alpha.8 vs lib/neo4j/session_manager.rb in neo4j-8.0.0.alpha.9
- old
+ new
@@ -32,10 +32,10 @@
end
# TODO: Deprecate embedded_db and http in favor of embedded and http
#
def cypher_session_adaptor(type, path_or_url, options = {})
- case type
+ case type.to_sym
when :embedded_db, :embedded
Neo4j::Core::CypherSession::Adaptors::Embedded.new(path_or_url, options)
when :http
Neo4j::Core::CypherSession::Adaptors::HTTP.new(path_or_url, options)
when :bolt