100%
```ruby
class User < ApplicationRecord
has_many :bookings, dependent: :destroy
has_many :rates, through: :bookings
end
class Booking < ApplicationRecord
belongs_to :user
belongs_to :rate
end
class Rate < ApplicationRecord
belongs_to :booking
belongs_to :tax
end
class Tax < ApplicationRecord
has_many :rates
end
```