Sha256: f4906c891b5b275c343231ca8cd7148dbb5135e0822f688026a82ee36f1e1f45
Contents?: true
Size: 360 Bytes
Versions: 5
Compression:
Stored size: 360 Bytes
Contents
module SportDb::Model 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::Model
Version data entries
5 entries across 5 versions & 1 rubygems