diff --git a/app/models/user.rb b/app/models/user.rb index 6fbaafdb00..564384f96e 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -101,6 +101,7 @@ def for_conference conference presence: true validate :biography_limit + validates :affiliation, length: { maximum: 150 } DISTRIBUTION_COLORS = { 'Active' => 'green',