lib/neo4j/active_rel/persistence.rb in neo4j-6.0.0.rc.1 vs lib/neo4j/active_rel/persistence.rb in neo4j-6.0.0.rc.2
- old
+ new
@@ -31,10 +31,10 @@
def save(*)
create_or_update
end
def save!(*args)
- save(*args) or fail(RelInvalidError, self) # rubocop:disable Style/AndOr
+ save(*args) or fail(RelInvalidError, inspect) # rubocop:disable Style/AndOr
end
def create_model
validate_node_classes!
rel = _create_rel