Merge pull request #2596 from snpd25/branch1

Supports talks without speakers
This commit is contained in:
Henne Vogelsang 2019-10-31 12:52:20 +01:00 committed by GitHub
commit 1ce66a55bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 48 additions and 34 deletions

View file

@ -44,7 +44,6 @@ class Event < ApplicationRecord
validates :abstract, presence: true
validates :event_type, presence: true
validates :program, presence: true
validates :speakers, presence: true
validates :max_attendees, numericality: { only_integer: true, greater_than_or_equal_to: 1, allow_nil: true }
validate :max_attendees_no_more_than_room_size