You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 have only tested this with has_many associations, but it may apply to has_one as well.
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 have only tested this with has_many associations, but it may apply to has_one as well.
Code example
I would expect that this would work more like ActiveRecord, and the
(a)-[:wrote]->(b)
relationship would be added to neo4j as well.Workaround
works as expected.
Runtime information:
versions:
neo4j: 4.0.0
The text was updated successfully, but these errors were encountered: