diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-06 23:29:40 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-06 23:29:40 -0400 |
commit | 2d097c71a32646fce3b90608cbffde9992c979ef (patch) | |
tree | 83c8fd34674d789a14f0ce5dc92655deeaaacf4a /app/models/user.rb | |
parent | 628173fce3de8f5d3e31109b3aa7c964fdab38ca (diff) |
holy shit matches actually move forward
Diffstat (limited to 'app/models/user.rb')
-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 0b77ab1..0446b35 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -3,6 +3,7 @@ class User < ActiveRecord::Base has_and_belongs_to_many :tournaments_hosted, class_name: "Tournament", foreign_key: "host_id", join_table: "hosts_tournaments" has_and_belongs_to_many :teams has_many :sessions + has_many :scores apply_simple_captcha |