Skip to content
Snippets Groups Projects
Commit 3a2b2733 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #40 from vslinko/patch-1

Increase max key length. Some keys has comment after key string.
parents 757ea634 c374eb80
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment