summaryrefslogtreecommitdiff
path: root/app/models/match.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-25 11:03:55 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-25 11:03:55 -0400
commit63a665823b8f05bf0b3a9acf9b18cc01252951fb (patch)
tree50cb9fa6118ee8ae04471c9bd117e15544b8a8f2 /app/models/match.rb
parentf14410d0e7ea249971265f3466ec246c62e6f3f5 (diff)
Touch up s/scores/statistics/
Diffstat (limited to 'app/models/match.rb')
-rw-r--r--app/models/match.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/match.rb b/app/models/match.rb
index 20a36a5..9045d67 100644
--- a/app/models/match.rb
+++ b/app/models/match.rb
@@ -1,6 +1,6 @@
class Match < ActiveRecord::Base
belongs_to :tournament_stage
- has_many :scores
+ has_many :statistics
has_and_belongs_to_many :teams
belongs_to :winner, class_name: "Team"