activegraph icon indicating copy to clipboard operation
activegraph copied to clipboard

An active model wrapper for the Neo4j Graph Database for Ruby.

Results 113 activegraph issues
Sort by recently updated
recently updated
newest added

When we initialize two nodes with mentioning relationship on both side, It creates two identical relationship between these two nodes. Should it only create one relationship instead? ### Code example...

neo4j gem version: 9.3.0 neo4j-core version: 8.1.4 I'm having an issue that you appear to have solved back in 2015, here: https://github.com/neo4jrb/neo4j/issues/717 and here: https://github.com/neo4jrb/devise-neo4j/issues/16 The error only happens in...

* rename `hash` variable to `proxy_hash_key` * rename `cache` variable to `association_query_results` * create proc on its own line, with simpler code * instead of using inject and complicating things,...

Clean up and comment the HashN#association_proxy method which was pretty convoluted. Functionally equivalent to #1530, so this is a style-only fix, once that PR has been merged. * add comments...

Hey guys, I want to store location with latitude and longitude is a point type on Database to use spatial functions to get the distance between location. https://neo4j.com/docs/developer-manual/current/cypher/functions/spatial/#functions-distance I know...

Related to: https://github.com/neo4jrb/neo4j/issues/1548 Additional information which could be helpful if relevant to your issue: ### Code example (inline, gist, or repo) ``` class Person include Neo4j::ActiveNode has_one :out, :parent, type:...

``` Downloading neo4j-9.4.0 revealed dependencies not in the API or the lockfile (neo4j-community (~> 2.0)). Either installing with `--full-index` or running `bundle update neo4j` should fix the problem. ``` -...

Additional information which could be helpful if relevant to your issue: ### Code example When `#destroy` is called on an `Neo4j::ActiveNode` model, the default behavior is such that it effectively...

Running the following code (Geoname is a simple ActiveNode model): ``` Geoname.find('5666639') ``` produces (in Ruby): ``` Geoname MATCH (n:`Geoname`) WHERE (n.uuid = {n_uuid}) RETURN n ORDER BY n.uuid LIMIT...

I tried the "monkey way": ``` ruby class Article include Neo4j::ActiveNode include ActiveRecord::NestedAttributes has_many :out, :quotings, rel_class: :QuotingRel accepts_nested_attributes_for :quotings end ``` But it crashes with a `block in accepts_nested_attributes_for':...