You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the Neography::Node.load doesn't work after upgrade the gem from 1.0.10 to 1.1.0
My code is like below:
node = @@neo.get_node_index('doc_node_hash_index', 'content_hash',17224960494314920)
node = Neography::Node.load(node)
The error I got
I thinks this might be caused by the IF statement in node.rb line 23
node = db.get_node(node) if (node.to_s.match(/^\d+$/) or node.to_s.split("/").last.match(/^\d+$/))
I don;t think the IF statement will return TRUE, can you provide me a fix for this ? thanks
The text was updated successfully, but these errors were encountered:
I found the Neography::Node.load doesn't work after upgrade the gem from 1.0.10 to 1.1.0
My code is like below:
node = @@neo.get_node_index('doc_node_hash_index', 'content_hash',17224960494314920)
node = Neography::Node.load(node)
The error I got
can't convert String into Integer
/Users/jbao009/Documents/vendor/ETR2/ruby/1.9.1/gems/neography-1.1.0/lib/neography/property_container.rb:10:in
[]' /Users/jbao009/Documents/vendor/ETR2/ruby/1.9.1/gems/neography-1.1.0/lib/neography/property_container.rb:10:in
initialize'/Users/jbao009/Documents/vendor/ETR2/ruby/1.9.1/gems/neography-1.1.0/lib/neography/node.rb:26:in
new' /Users/jbao009/Documents/vendor/ETR2/ruby/1.9.1/gems/neography-1.1.0/lib/neography/node.rb:26:in
load'I thinks this might be caused by the IF statement in node.rb line 23
node = db.get_node(node) if (node.to_s.match(/^\d+$/) or node.to_s.split("/").last.match(/^\d+$/))
I don;t think the IF statement will return TRUE, can you provide me a fix for this ? thanks
The text was updated successfully, but these errors were encountered: