```ruby
class Site < ApplicationRecord
  has_many :bookmarks
end
```

Destroy Site when has no bookmarks
user
```ruby
class Site < ApplicationRecord
  has_many :bookmarks, dependent: :destroy

  after_touch :destroy, if: -> { bookmarks.empty? }
end
```
assistant