diff options
author | Steven Burgart <skburgart@gmail.com> | 2015-01-18 10:29:37 -0500 |
---|---|---|
committer | Steven Burgart <skburgart@gmail.com> | 2015-01-18 10:29:37 -0500 |
commit | 5c801602189bdf179432e9ef5885f6c6fef438f2 (patch) | |
tree | 39e96188549956bc7a32ccfd9285b1dc9f3fa772 /app/models/key.rb | |
parent | 7d5d5e53b11db478946e6c477a9a59b0be9b6d5b (diff) | |
download | gitlab-ce-5c801602189bdf179432e9ef5885f6c6fef438f2.tar.gz |
Fix various typos
signe-in -> signed-in
go_to_gihub_for_permissions -> go_to_github_for_permissions
descendand -> descendant
behavour -> behaviour
recepient_email -> recipient_email
generate_fingerpint -> generate_fingerprint
dependes -> depends
Cant't -> Can't
wisit -> visit
notifcation -> notification
sufficent_scope -> sufficient_scope?
levet -> level
Diffstat (limited to 'app/models/key.rb')
-rw-r--r-- | app/models/key.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/key.rb b/app/models/key.rb index 65a426d1f8b..d2d1af68822 100644 --- a/app/models/key.rb +++ b/app/models/key.rb @@ -19,7 +19,7 @@ class Key < ActiveRecord::Base belongs_to :user - before_validation :strip_white_space, :generate_fingerpint + before_validation :strip_white_space, :generate_fingerprint validates :title, presence: true, length: { within: 0..255 } validates :key, presence: true, length: { within: 0..5000 }, format: { with: /\A(ssh|ecdsa)-.*\Z/ }, uniqueness: true @@ -76,7 +76,7 @@ class Key < ActiveRecord::Base private - def generate_fingerpint + def generate_fingerprint self.fingerprint = nil return unless key.present? |