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
This is a weird problem - I don't know if it's related to neo4j or jRuby, but I thought I'd mention it here. Using neo4j.rb 2.2.0 and jRuby 1.7.1, I found that comparing 2 objects that represent the same node return false when comparing with '=='. However, when I switch to the old version of jRuby I was using, jRuby 1.6.7.2, it works. I am running jRuby 1.6.7.2 in 1.9 mode with --1.9.
Basically, I was just doing a 'Person.first == Person.first', and it was true under 1.6.7.2, and false under 1.7.1 .
Any idea what's up? jRuby 1.6.7.2 emulates Ruby 1.9.2, wherever jRuby 1.7.1 emulates Ruby 1.9.3. Could that be the problem?
I'm switching back to jRuby 1.6 for now, as comparing 2 different objects that represent the same node in the graph DB and getting a return value of 'true' just seems the right thing to do.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
This is a weird problem - I don't know if it's related to neo4j or jRuby, but I thought I'd mention it here. Using neo4j.rb 2.2.0 and jRuby 1.7.1, I found that comparing 2 objects that represent the same node return false when comparing with '=='. However, when I switch to the old version of jRuby I was using, jRuby 1.6.7.2, it works. I am running jRuby 1.6.7.2 in 1.9 mode with --1.9.
Basically, I was just doing a 'Person.first == Person.first', and it was true under 1.6.7.2, and false under 1.7.1 .
Any idea what's up? jRuby 1.6.7.2 emulates Ruby 1.9.2, wherever jRuby 1.7.1 emulates Ruby 1.9.3. Could that be the problem?
I'm switching back to jRuby 1.6 for now, as comparing 2 different objects that represent the same node in the graph DB and getting a return value of 'true' just seems the right thing to do.
Thanks
The text was updated successfully, but these errors were encountered: