mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
Activate paper_trail in order_cycles and schedules and track each others ids An alternative way of doing this would be to use a gem for paper_trail associations but this way we avoid adding a new dependency to the app
8 lines
144 B
Ruby
8 lines
144 B
Ruby
PaperTrail.config.track_associations = false
|
|
|
|
module PaperTrail
|
|
class Version < ActiveRecord::Base
|
|
attr_accessible :custom_data
|
|
end
|
|
end
|