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:
@@ -24,10 +24,6 @@ class Tournament < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
def upcomingMatches
|
||||
matches
|
||||
end
|
||||
|
||||
def destroyAllMatches
|
||||
matches.destroy_all
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user