Permalink
Browse files

Merge pull request #40 from vslinko/patch-1

Increase max key length. Some keys has comment after key string.
  • Loading branch information...
2 parents 757ea63 + c374eb8 commit 3a2b273316fb29d63b489906f85d9b5329377258 @randx randx committed Oct 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/key.rb
View
@@ -8,7 +8,7 @@ class Key < ActiveRecord::Base
validates :key,
:presence => true,
:uniqueness => true,
- :length => { :within => 0..555 }
+ :length => { :within => 0..1024 }
before_save :set_identifier
after_save :update_gitosis

0 comments on commit 3a2b273

Please sign in to comment.