summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-20 16:03:16 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-20 16:03:16 -0400
commit49f579f025235045840e17005fd84edc9e12f9eb (patch)
treeca02b9d06da611815502ef917ae1512199cba0af /app/models
parente681498867d6007caa45ab9312057acb5303f609 (diff)
add the "has_many :remote_usernames" relation to the user model
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 575c741..0762e5e 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -6,6 +6,7 @@ class User < ActiveRecord::Base
has_and_belongs_to_many :teams
has_many :sessions
has_many :scores
+ has_many :remote_usernames
apply_simple_captcha