Loading app/models/event.rb +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
app/models/event.rb +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading