mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Ignore changes of updated_at in Ticket and EventType models
This commit is contained in:
parent
297447d802
commit
111812025b
2 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,8 @@ class Ticket < ApplicationRecord
|
|||
has_many :ticket_purchases, dependent: :destroy
|
||||
has_many :buyers, -> { distinct }, through: :ticket_purchases, source: :user
|
||||
|
||||
has_paper_trail meta: { conference_id: :conference_id }
|
||||
has_paper_trail meta: { conference_id: :conference_id },
|
||||
ignore: %i[updated_at]
|
||||
|
||||
monetize :price_cents, with_model_currency: :price_currency
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue