Merge branch 'master' into issue_status_changed_notifications

This commit is contained in:
Alex Denisov 2012-08-29 11:21:14 +03:00
commit 05af5655a7
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@ class Key < ActiveRecord::Base
validates :key,
presence: true,
:format => { :with => /ssh-.{3} / },
length: { within: 0..5000 }
before_save :set_identifier