```ruby
class JodelCity < ActiveRecord::Base
  has_many :jodel_posts
  validates :name, presence: true
end
```

Fix cities not being destructible
user
```ruby
class JodelCity < ActiveRecord::Base
  has_many :jodel_posts, dependent: :destroy
  validates :name, presence: true
end
```
assistant