Merge branch 'master' into ticket-show-page

This commit is contained in:
Moisés Déniz Alemán 2017-07-12 12:06:43 +02:00 committed by GitHub
commit 76734b3aef
4 changed files with 20 additions and 1 deletions

View file

@ -3,4 +3,5 @@ class PhysicalTicket < ActiveRecord::Base
has_one :ticket, through: :ticket_purchase
has_one :conference, through: :ticket_purchase
has_one :user, through: :ticket_purchase
has_many :ticket_scannings
end

View file

@ -0,0 +1,3 @@
class TicketScanning < ActiveRecord::Base
belongs_to :physical_ticket
end