1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-01 03:55:44 +00:00

Removed upcomingMatches because matches are an A-R relation of Tournament

This commit is contained in:
RJ Osborne
2015-05-28 00:25:14 -04:00
parent 062396da0a
commit 284439e2cf
3 changed files with 12 additions and 17 deletions

View File

@@ -24,10 +24,6 @@ class Tournament < ActiveRecord::Base
end
end
def upcomingMatches
matches
end
def destroyAllMatches
matches.destroy_all
end