Readme.md in soft_deletion-0.7.0 vs Readme.md in soft_deletion-0.8.0
- old
+ new
@@ -13,10 +13,10 @@
```Ruby
require 'soft_deletion'
class User < ActiveRecord::Base
- has_soft_deletion :default_scope => true
+ has_soft_deletion default_scope: true
before_soft_delete :validate_deletability # soft_delete stops if this returns false
after_soft_delete :send_deletion_emails
has_many :products