mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Rails 5 introduced this new class to confine application-specific monkey patches to our models only, and not leak into other libraries using ActiveRecord::Base. https://bigbinary.com/blog/application-record-in-rails-5
5 lines
100 B
Ruby
5 lines
100 B
Ruby
class CoordinatorFee < ApplicationRecord
|
|
belongs_to :order_cycle
|
|
belongs_to :enterprise_fee
|
|
end
|