1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-14 00:49:54 +00:00

Removed unnecessary attr_accessors

This commit is contained in:
2015-03-30 17:45:37 +00:00
parent 85a5cb3993
commit 9986c8b407
6 changed files with 6 additions and 8 deletions

View File

@@ -2,8 +2,8 @@ class Wrestler < ActiveRecord::Base
belongs_to :school
belongs_to :weight
has_one :tournament, through: :weight
attr_accessor :allMatches, :isWrestlingThisRound, :boutByRound, :seasonWinPercentage, :poolNumber
attr_accessor :poolNumber
before_save do
self.tournament.matchups_array = nil
self.tournament.save