```ruby
class SoundTrek < ApplicationRecord
  validates :location_id, :title, presence: true
  belongs_to :trekker, class_name: "User"
  belongs_to :location
end
```

Add dependent destroy to locations for soundtreks so that pins do not show up on the map when a user deletes soundtrek
user
```ruby
class SoundTrek < ApplicationRecord
  validates :location_id, :title, presence: true
  belongs_to :trekker, class_name: "User"
  belongs_to :location, dependent: :destroy
end
```
assistant