diff options
author | jomo <github@jomo.tv> | 2014-04-28 03:26:58 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-04-28 03:26:58 +0200 |
commit | a091aef3189f0a1e32ecc58cb6773c8721a63749 (patch) | |
tree | 5b02971cc990a11abd0bf448d2b8a9b47d9c60bb /app/models/user.rb | |
parent | 4a308922a5f080bae04fd1472150e290752d9711 (diff) |
typo
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index bd07bbe..d799398 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -7,7 +7,7 @@ class User < ActiveRecord::Base has_secure_password - before_validation :strip_whitespaces, :set_uuid, :set_name, :set_email_token, set_role + before_validation :strip_whitespaces, :set_uuid, :set_name, :set_email_token, :set_role validates_presence_of :password, :password_confirmation, :email_token, :on => :create validates_presence_of :name, :email, :ign |