mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-12 21:00:58 +00:00
Increase IRC field length
This commit is contained in:
parent
9fec9b345a
commit
6e6bfe507d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class Team < ActiveRecord::Base
|
|||
|
||||
validates_presence_of :name, :tag
|
||||
validates_length_of :name, :tag, :in => 2..20
|
||||
validates_length_of :irc, :maximum => 20, :allow_blank => true
|
||||
validates_length_of :irc, :maximum => 60, :allow_blank => true
|
||||
validates_length_of :web, :maximum => 50, :allow_blank => true
|
||||
validates_format_of :country, :with => /\A[A-Z]{2}\z/, :allow_blank => true
|
||||
validates_length_of [:comment, :recruiting], :in => 0..75, :allow_blank => true
|
||||
|
|
Loading…
Reference in a new issue