lib/spira/persistence.rb in spira-1.1.1 vs lib/spira/persistence.rb in spira-2.0.0

- old
+ new

@@ -458,10 +458,10 @@ end # Destroy all model data # AND non-model data, where this resource is referred to as object. def destroy_model_data(*args) - if self.class.repository.delete(*statements) && self.class.repository.delete([nil, nil, subject]) + if self.class.repository.delete(statements) && self.class.repository.delete([nil, nil, subject]) @destroyed = true freeze end end