Skip to content

couldn't connect to neo4j #1729

Description

@syj121

rails 6.1
ruby 3.1.1
activegraph 11.1.0
neo4j 5.25.1

class Book
  include ActiveGraph::Node
  property :title, type: String
end
driver = Neo4j::Driver::GraphDatabase.driver(uri, Neo4j::Driver::AuthTokens.basic(username, password))
ActiveGraph::Base.driver = driver

driver is ok.but when execute
Book.find_by(title: "desc")
making error,shows

NoMethodError: undefined method `[]' for nil:NilClass

          query('CALL dbms.components()', {}, skip_instrumentation: true).first[:versions][0]
                                                                               ^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions