lib/active_graph/node/query/query_proxy.rb in activegraph-10.0.0.pre.beta.3 vs lib/active_graph/node/query/query_proxy.rb in activegraph-10.0.0.pre.beta.4
- old
+ new
@@ -203,10 +203,10 @@
def create(other_nodes, properties = {})
fail 'Can only create relationships on associations' if !@association
other_nodes = _nodeify!(*other_nodes)
- ActiveGraph::Base.run_transaction do
+ ActiveGraph::Base.transaction do
other_nodes.each do |other_node|
if other_node.neo_id
other_node.try(:delete_reverse_has_one_core_rel, association)
else
other_node.save