Commit 44319523 authored by jon richter's avatar jon richter

update event model for #241

parent deb89553
...@@ -5,7 +5,7 @@ class Event < ActiveRecord::Base ...@@ -5,7 +5,7 @@ class Event < ActiveRecord::Base
before_create :generate_guid before_create :generate_guid
SPECIAL_SESSION_TYPES = ['Academic Special Session'] 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_one :ticket, dependent: :destroy
has_many :conflicts_as_conflicting, class_name: "Conflict", foreign_key: "conflicting_event_id", dependent: :destroy has_many :conflicts_as_conflicting, class_name: "Conflict", foreign_key: "conflicting_event_id", dependent: :destroy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment