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.9.4 lib/sportdb/models/race.rb
sportdb-1.9.3 lib/sportdb/models/race.rb
sportdb-1.9.2 lib/sportdb/models/race.rb
sportdb-1.9.1 lib/sportdb/models/race.rb
sportdb-1.9.0 lib/sportdb/models/race.rb
sportdb-1.8.29 lib/sportdb/models/race.rb
sportdb-1.8.28 lib/sportdb/models/race.rb
sportdb-1.8.27 lib/sportdb/models/race.rb
sportdb-1.8.26 lib/sportdb/models/race.rb
sportdb-1.8.25 lib/sportdb/models/race.rb
sportdb-1.8.24 lib/sportdb/models/race.rb
sportdb-1.8.23 lib/sportdb/models/race.rb
sportdb-1.8.22 lib/sportdb/models/race.rb
sportdb-1.8.21 lib/sportdb/models/race.rb
sportdb-1.8.20 lib/sportdb/models/race.rb
sportdb-1.8.19 lib/sportdb/models/race.rb
sportdb-1.8.18 lib/sportdb/models/race.rb
sportdb-1.8.17 lib/sportdb/models/race.rb
sportdb-1.8.16 lib/sportdb/models/race.rb
sportdb-1.8.15 lib/sportdb/models/race.rb