Class: PersonDb::Model::Person
- Inherits:
-
Object
- Object
- PersonDb::Model::Person
- Defined in:
- lib/footballdb/models/person.rb
Overview
extends “basic” person model in PersonDb
Instance Method Summary collapse
-
#stats ⇒ Object
todo/check: make more specific - that is, use team_stats, all_time_stats etc.
Instance Method Details
#stats ⇒ Object
todo/check: make more specific - that is, use team_stats, all_time_stats etc. and use has_one!
15 |
# File 'lib/footballdb/models/person.rb', line 15 has_many :stats, class_name: 'FootballDb::Model::PlayerStat' |