Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 2.7.1: index exception can't modify frozen String: #340

Open
dimitriwoei opened this issue Jun 3, 2020 · 0 comments
Open

Ruby 2.7.1: index exception can't modify frozen String: #340

dimitriwoei opened this issue Jun 3, 2020 · 0 comments

Comments

@dimitriwoei
Copy link

I upgraded my project to Ruby 2.7.1.
Suddenly I'm getting the following error:
index exception can't modify frozen String: "MyModelClass"

/home/dwoei/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/neo4j-core-9.0.0/lib/neo4j/core/query_clauses.rb:210:in strip!' /home/dwoei/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/neo4j-core-9.0.0/lib/neo4j/core/query_clauses.rb:210:in format_label'
/home/dwoei/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/neo4j-core-9.0.0/lib/neo4j/core/query_clauses.rb:70:in `node_from_key_and_value'

Additional information which could be helpful if relevent to your issue:

Code example (inline, gist, or repo)

query_session = ::Neo4j::Core::Query.new(session: ::Neo4j::ActiveBase.current_session)
query_session.match(n: MyModelClass)

Runtime information:

Neo4j database version: 3.5.14
neo4j gem version: 9.6.1
neo4j-core gem version: 9.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant