Sha256: ef48f40afaf346e79ba75c35508f375056e169e161b31fd350e2e1c42ab62dd5

Contents?: true

Size: 384 Bytes

Versions: 28

Compression:

Stored size: 384 Bytes

Contents

module SportDb
  module 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 Model
end # module SportDb

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
sportdb-1.8.14 lib/sportdb/models/race.rb
sportdb-1.8.13 lib/sportdb/models/race.rb
sportdb-1.8.12 lib/sportdb/models/race.rb
sportdb-1.8.11 lib/sportdb/models/race.rb
sportdb-1.8.10 lib/sportdb/models/race.rb
sportdb-1.8.9 lib/sportdb/models/race.rb
sportdb-1.8.8 lib/sportdb/models/race.rb
sportdb-1.8.7 lib/sportdb/models/race.rb