Commit 44319523 authored by Jon Richter's avatar Jon Richter
Browse files

update event model for #241

parent deb89553
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ class Event < ActiveRecord::Base
  before_create :generate_guid

  SPECIAL_SESSION_TYPES = ['Academic Special Session']
  TYPES = SPECIAL_SESSION_TYPES + ['Individual Paper', 'Poster Presentation', 'Participatory Session', 'Activist Session', 'Artistic Session', 'Keynote', 'Plenary Session', 'Highlight of Degrowth Research']
  TYPES = SPECIAL_SESSION_TYPES + ['Individual Paper', 'Poster Presentation', 'Participatory Session', 'Activist Session', 'Artistic Session', 'Keynote', 'Plenary Session', 'Book/Special Issue Presentation', 'Demonstration', 'Lunch', 'Fika', 'Party']

  has_one :ticket, dependent: :destroy
  has_many :conflicts_as_conflicting, class_name: "Conflict", foreign_key: "conflicting_event_id", dependent: :destroy