lib/neo4j/active_rel/persistence.rb in neo4j-6.0.3 vs lib/neo4j/active_rel/persistence.rb in neo4j-6.0.4
- old
+ new
@@ -70,9 +70,13 @@
end
def create_method
creates_unique? ? :create_unique : :create
end
+
+ def load_entity(id)
+ Neo4j::Relationship.load(id)
+ end
end
def create_method
self.class.create_method
end