Sha256: 91e82fecfd87dca3b825931b9a535a908542294c3915b825b859c915591975d7
Contents?: true
Size: 418 Bytes
Versions: 1
Compression:
Stored size: 418 Bytes
Contents
module SportDb module Model ### todo/fix - yes, use Squad for name ### use lineup table for match (specific) players lineup/formation ## NOT league (all season) squad !!!!! class Lineup < ActiveRecord::Base belongs_to :event belongs_to :team belongs_to :person, class_name: 'PersonDb::Model::Person', foreign_key: 'person_id' end # class Lineup end # module Model end # module SportDb
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sportdb-models-2.1.0 | lib/sportdb/models/models/lineup.rb |