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

I find that I am unable to update a property from an ActiveMode model when I include a custom writer. Take this for a reduced example from my models: ```...

Given three ActiveNode classes class A include Neo4j::ActiveNode has_one :out, :foo, type: :HAS_FOO, model_class: :Foo end class B < A; end class C < A; end Assume your DB only...

I having troubles understanding and finding docs on `before` and `after` options in `has_many` associacions. I know only that they defined here: https://github.com/neo4jrb/neo4j/blob/95db4f8c8e25004c09fa635f3cd553db81082a96/lib/neo4j/active_node/has_n/association.rb#L208 I'm new to neo4j and started working...

:wave: Hey folks! I wanted to flag a kind of gnarly issue with `update_attributes`: it seems to temporarily reencode strings as `Encoding::ASCII_8BIT`, until the updated model is refreshed. The strings...

In some cases, a `where` or `where_not` clause is silently ignored when it should probably throw an error. ### Code example Assume you have a model class called ExampleNode. ```ruby...

Hi I am using rails I often getting this error while creating the new user and sometimes some form submission. Additional information which could be helpful if relevant to your...

(Related to ) Additional information which could be helpful if relevant to your issue: ### Code example (inline, gist, or repo) ``` results = Neo4j::ActiveBase.current_session.query("MATCH (n)-[r]-() RETURN n, r LIMIT...

Would be nice to be able to say what fields that you want to return in specific cases and have ActiveNode / ActiveRel populated objects. I was returning some nodes...

Since ActiveNode doesn't support ActiveRecord's `accepts_nested_attributes_for`, they should support ActiveModel's `_attributes` method for seamless support of nested models. Adding such attributes currently causes the form helper to silently fail and...

It would be nice to have something like the `verbose_query_logs` setting that was just introduced in `activerecord` 5.2: https://twitter.com/olivierlacan/status/983565103118340096