osem-fcy/app/models/physical_ticket.rb

7 lines
213 B
Ruby
Raw Normal View History

class PhysicalTicket < ActiveRecord::Base
belongs_to :ticket_purchase
has_one :ticket, through: :ticket_purchase
has_one :conference, through: :ticket_purchase
has_one :user, through: :ticket_purchase
end