realm.rb has `before_destroy`