Closed OpenCoderX closed 4 years ago
@OpenCoderX could you create a minimal example with a complete code. ActiveNode definition, data creation and retrieval to demonstrate this? There are many factors that play a role.
The cypher appears to be correct, maybe this is a problem with my server.
It seems like when the node is found with find_by
and defaults are applied, the attributes that have their values changed when defaults are set are not marked as changed attributes.
It seems there is a bug when searching for properties that have boolean values. I was expecting the second query to return 2. The first two queries demonstrate that the where/count combination works when calling on a Class but fails when using an instance and an association chain. The 3rd query demonstrates that there should be two records that are counted, bsed on the value of the core_dictionary property. I noticed some old issues related to this: 951 and 294
See the following pry session:
Additional information which could be helpful if relevant to your issue:
Code example (inline, gist, or repo)
Runtime information:
Neo4j database version:
neo4j
gem version: 9.6.0neo4j-core
gem version: 9.0.0