Fewer attributes paper trailed
This commit is contained in:
parent
64aef02671
commit
10fa69eb89
@ -4,7 +4,8 @@
|
|||||||
class Event < ActiveRecord::Base
|
class Event < ActiveRecord::Base
|
||||||
extend SimpleCalendar
|
extend SimpleCalendar
|
||||||
strip_attributes
|
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
|
belongs_to :region
|
||||||
has_many :notes, dependent: :destroy
|
has_many :notes, dependent: :destroy
|
||||||
|
Loading…
Reference in New Issue
Block a user