Files
openfoodnetwork/config/initializers/paper_trail.rb
luisramos0 abd4f0b923 Add custom_data column to paper_trail versions table so we can track a specific list of ids in a model
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
2020-02-07 10:06:58 +00:00

8 lines
144 B
Ruby

PaperTrail.config.track_associations = false
module PaperTrail
class Version < ActiveRecord::Base
attr_accessible :custom_data
end
end