diff options
author | tkimia <tkimia@purdue.edu> | 2014-04-03 18:03:33 -0400 |
---|---|---|
committer | tkimia <tkimia@purdue.edu> | 2014-04-03 18:03:33 -0400 |
commit | 36e6db5e8fbcbeeddb6a68d702bb8a2bdc3a514a (patch) | |
tree | 2cf6a72fce43f4644dc16177a4d42fb778fb8c97 /app/models | |
parent | effe4608e808a385bb912fccac26381d0bd0c95a (diff) | |
parent | 91623c4f865d25c33ed64632ae61b506e0bb1ab4 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 016c155..9a0948f 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -4,6 +4,8 @@ class User < ActiveRecord::Base has_and_belongs_to_many :teams has_many :sessions + apply_simple_captcha + before_save { self.email = email.downcase } before_save { self.user_name = user_name } |