Group Players contains names, optional contacts and quotas for players in the group.
class GroupPlayer < ActiveRecord::Base
has_many :rounds, dependent: :destroy
- To store basic information on a Player (name, phone, primary tee)
- To store quotas and date last played from last computed quota.
- Quotas are computed when:
- An Event is scored
- An Event is deleted
- A groups preferences are changed and the coordinator recomputes quotas
- Rounds or Events are trimmed, removing old rounds and events.
- The primary tee is changed.