```ruby
class Business < ActiveRecord::Base
  enum theme: { wine: 0, beer: 1, whiskey: 2, coffee: 3 }

  has_many :flights
  belongs_to :flight

  validates :name, :location, :rating, presence: true
end
```

Add Business model validations for geocoder
user
```ruby
class Business < ActiveRecord::Base
  enum theme: { wine: 0, beer: 1, whiskey: 2, coffee: 3 }

  has_many :flights
  belongs_to :flight

  validates :name, :location, :rating, presence: true

  geocoded_by :location
  after_validation :geocode
end
```
assistant