fixd key length

This commit is contained in:
Valery Sizov 2011-11-22 21:56:22 +02:00
parent 4451b8df8a
commit 540d0aa406

View file

@ -8,7 +8,7 @@ class Key < ActiveRecord::Base
validates :key,
:presence => true,
:uniqueness => true,
:length => { :within => 0..1600 }
:length => { :within => 0..5000 }
before_save :set_identifier
after_save :update_gitosis