Sha256: f94aa01199a6d7cc968035acab0d33891912a91ab3171a88075e5ed69d7d8766

Contents?: true

Size: 361 Bytes

Versions: 19

Compression:

Stored size: 361 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

19 entries across 19 versions & 1 rubygems

Version Path
sportdb-1.8.0 lib/sportdb/models/race.rb
sportdb-1.7.9 lib/sportdb/models/race.rb
sportdb-1.7.8 lib/sportdb/models/race.rb
sportdb-1.7.7 lib/sportdb/models/race.rb
sportdb-1.7.6 lib/sportdb/models/race.rb
sportdb-1.7.5 lib/sportdb/models/race.rb
sportdb-1.7.4 lib/sportdb/models/race.rb
sportdb-1.7.3 lib/sportdb/models/race.rb
sportdb-1.7.2 lib/sportdb/models/race.rb
sportdb-1.7.1 lib/sportdb/models/race.rb
sportdb-1.7.0 lib/sportdb/models/race.rb
sportdb-1.6.18 lib/sportdb/models/race.rb
sportdb-1.6.17 lib/sportdb/models/race.rb
sportdb-1.6.16 lib/sportdb/models/race.rb
sportdb-1.6.15 lib/sportdb/models/race.rb
sportdb-1.6.14 lib/sportdb/models/race.rb
sportdb-1.6.13 lib/sportdb/models/race.rb
sportdb-1.6.12 lib/sportdb/models/race.rb
sportdb-1.6.11 lib/sportdb/models/race.rb