Fewer attributes paper trailed

This commit is contained in:
echarp 2016-02-27 17:42:07 +01:00
parent 64aef02671
commit 10fa69eb89
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@
class Event < ActiveRecord::Base
extend SimpleCalendar
strip_attributes
has_paper_trail ignore: [:secret, :submitter, :latitude, :longitude]
has_paper_trail ignore: [:last_updated, :secret, :submitter, :decision_time,
:lock_version, :latitude, :longitude]
belongs_to :region
has_many :notes, dependent: :destroy