Add paper_trail
This commit is contained in:
parent
f7c0b64eb5
commit
d9b2ebfc36
4 changed files with 11 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
class Booth < ActiveRecord::Base
|
||||
include ActiveRecord::Transitions
|
||||
has_paper_trail ignore: [:updated_at], meta: { conference_id: :conference_id }
|
||||
|
||||
belongs_to :conference
|
||||
has_many :booth_requests, dependent: :destroy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue