diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-20 16:03:16 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-20 16:03:16 -0400 |
commit | 49f579f025235045840e17005fd84edc9e12f9eb (patch) | |
tree | ca02b9d06da611815502ef917ae1512199cba0af /app | |
parent | e681498867d6007caa45ab9312057acb5303f609 (diff) |
add the "has_many :remote_usernames" relation to the user model
Diffstat (limited to 'app')
-rw-r--r-- | app/models/user.rb | 1 |
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 |