activegraph
activegraph copied to clipboard
An active model wrapper for the Neo4j Graph Database for Ruby.
When used in rails, a middleware is added to the rack server which negatively affects performance. # CheckPending performance On every rails request, including in production, the list of migrations...
Ran across an issue transitioning away from UUID (makes import/export easier, especially for example in the case of Epoch seconds since there is only one `1490146334`) Went from UUID and...
Add slightly more aggressive clearing of caches during rails reloads. Fixes query results being wrapped in stale classes after a reload. This pull introduces/changes: * adds ActiveGraph::Node::Labels::Reloading.prepare_for_unload! method * call...
While investigating #1652, I noticed that [QueryProxy replace_with](https://github.com/neo4jrb/activegraph/blob/311da0248424a1553250be87147ef319850f071f/lib/active_graph/node/query/query_proxy_methods_of_mass_updating.rb#L51) compares IDs for all models to determine which relationships to delete and insert. Assuming the id in question is a `uuid`, this...
When defining a has_many relationship with more than one model classes, and the model classes have defined custom id properties, [QueryProxy replace_with](https://github.com/neo4jrb/activegraph/blob/311da0248424a1553250be87147ef319850f071f/lib/active_graph/node/query/query_proxy_methods_of_mass_updating.rb#L51) fails to correctly delete the old relationships. This...
Neo4j 4.0+ (enterprise) supports [multiple databases](https://neo4j.com/developer/manage-multiple-databases/). It seems this is not super complicated, you just need to send a cypher `USE ` command to switch to the right database. This...
The problem occurs when using the same relation class for both :in and :out relations. I am building a tree structure using ActiveGraph::Nodes, and use ActiveGraph::Relationship for the relations between...
Calling the `create!` method on a has_many association creates the corresponding node, but does not set up the relationship between the original node and the newly created one. Note: I...
Hello, I am not a very experienced programmer trying to use Neo4j with Rails and really enjoying it this far. However, I’m having two problems with migrating: ### Generated migrations...
Ran across an odd case in our application that led me to discover this `TODO`. We have some code that sets two associations, e.g: ``` @contact.emails = [Email.find(email_id)] @contact.owner =...