mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
This is critical to debug bugs related to subscriptions. Essentially, `has_and_belongs_to_many` doesn't give us the option for any other column that the foreign keys themselves: > A has_and_belongs_to_many association creates a direct many-to-many > connection with another model, with no intervening model. Source: https://guides.rubyonrails.org/v3.2/association_basics.html#the-has_and_belongs_to_many-association Note however, that there's no way to update an order_cycle_schedule, that I can think of but `updated_at` doesn't do any harm.