activegraph
activegraph copied to clipboard
An active model wrapper for the Neo4j Graph Database for Ruby.
> Fix query logging so that by default it only outputs to the user in the console and development server. Logger can be changed with `neo4j.config.logger` configuration option. I would...
👋 Hey folks! I was hoping you might indulge me in a trivial, nattering design question. I've been working with Neo4j.rb to build out a model for a `Post` object,...
Additional information which could be helpful if relevant to your issue: This came up in our code because we have a model which uses a custom ID key, but we...
The following code ``` Role.all.branch { lookup.where(id: 1) }.branch { lookup.where(id: 2) } ``` generates the following cypher: ``` MATCH (n:`Role`) MATCH (n)-[rel1:`lookup`]->(result_lookups:`Lookup`) WHERE (ID(result_lookups) = {ID_result_lookups}) MATCH (n)-[rel3:`lookup`]->(result_lookups:`Lookup`) WHERE...
As explained above, I'm getting the following NameError when calling a has_many relationship ```NameError: wrong constant name [:FriendOf, :EnemyOf] from /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/inflector/methods.rb:269:in `const_get' ``` Additional information which could be helpful if...
If you do `object.association.distinct.other_association`, the `distinct` goes away. This is probably good for the simple implementation, but we could have a `WITH DISTINCT` automatically go in there on the second...
We were noticing slow response times in some of our ENV and ran a profiling tool (`ruby-prof`) to determine where the time was being spent. When we profiled `SomeObject.all.with_associations(:content_type)` we...
When running bolt protocol I am getting intermittent issues: `RuntimeError (Timed out waiting for 2 bytes from Neo4j (after 10 seconds))` which are hard to pinpoint and for which it...
So the has_many explanation @ https://neo4jrb.readthedocs.io/en/9.2.x/ActiveRel.html could be better, IMHO. Take the example: ``` class Student include Neo4j::ActiveNode has_many :out, :lessons, rel_class: :EnrolledIn end ``` What is `:out` ? What...
As I am not actively working with Neo4j anymore and because I would like to have time for other projects, I'm not able to dedicate time to the Neo4j.rb gems...