Sha256: 36bc94fe2c4460271b899bf27cfcb61515ad78526a1ba83724e8a7ce70e35235

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

class EventsPassType < ActiveRecord::Base
  include OhNoes::Destroy

  belongs_to :organization
  belongs_to :event 
  belongs_to :pass_type

  attr_accessible :event, :pass_type, :excluded_shows, :ticket_types

  validates :event, :presence => true
  validates :organization, :presence => true
  validates :pass_type, :presence => true  

  serialize :ticket_types, Set
  serialize :excluded_shows, Set
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.23 app/models/events_pass_type.rb