Limit maximum event title length to 65
This commit is contained in:
parent
c375ca9087
commit
1e0f1e205f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue