Readme.md in soft_deletion-1.2.1 vs Readme.md in soft_deletion-1.3.0
- old
+ new
@@ -24,10 +24,10 @@
end
# soft delete them including all soft-deletable dependencies that are marked as :destroy, :delete_all, :nullify
user = User.first
user.products.count == 10
-user.soft_delete!
+user.soft_delete!(validate: false)
user.deleted? # true
# use special with_deleted scope to find them ...
user.reload # ActiveRecord::RecordNotFound
User.with_deleted do