Sha256: 1d09861678f64a29464f451bb135018b2915bd5f23e601fdda9f5181645d3c44
Contents?: true
Size: 375 Bytes
Versions: 4
Compression:
Stored size: 375 Bytes
Contents
module SportDb::Models class Race < ActiveRecord::Base belongs_to :track belongs_to :event ### fix/todo: add runs/records (records - join table - run/race+person) ## has_many :runs # e.g. Test Drive, Quali 1, Quali 2, Quali 3, Race ## run - has_many records? - run_stats? - what name to use? end # class Race end # module SportDb::Models
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sportdb-1.6.10 | lib/sportdb/models/race.rb |
sportdb-1.6.9 | lib/sportdb/models/race.rb |
sportdb-1.6.8 | lib/sportdb/models/race.rb |
sportdb-1.6.7 | lib/sportdb/models/race.rb |