Commit 3a2b273316fb29d63b489906f85d9b5329377258

Authored by Dmitriy Zaporozhets
2 parents 757ea634 c374eb80

Merge pull request #40 from vslinko/patch-1

Increase max key length. Some keys has comment after key string.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/key.rb
... ... @@ -8,7 +8,7 @@ class Key < ActiveRecord::Base
8 8 validates :key,
9 9 :presence => true,
10 10 :uniqueness => true,
11   - :length => { :within => 0..555 }
  11 + :length => { :within => 0..1024 }
12 12  
13 13 before_save :set_identifier
14 14 after_save :update_gitosis
... ...