diff --git a/app/models/event.rb b/app/models/event.rb index 62c18d8..e7cbc52 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -19,7 +19,7 @@ class Event < ActiveRecord::Base scope :approved, -> { where(propositions: {status: Proposition.statuses[:approved]})} validates :conference, presence: true - validates :title, presence: true + validates :title, presence: true, length: { maximum: 65 } validates :abstract, presence: true validates :description, presence: true validates :agreement, acceptance: true