Hello,
I’ve added new tables n models to the sportdb gem to cover racing
events such as the Formula One series. New models include tracks,
races, runs, records, and more. See yesterday’s GP Canada race
results:
############################################################
# Grand Prix Canada 2013 - Round 7 of 19
1 Sebastian Vettel Red Bull 70 1:32:09.143
2 Fernando Alonso Ferrari 70 +14.4 secs
3 Lewis Hamilton Mercedes 70 +15.9 secs
....
or the Formula 1 Calendar 2013:
############################
2013 Calendar/Season
(1) Sun 17 Mar 2013 17:00 / Grand Prix Australia
(2) Sun 24 Mar 2013 16:00 / Grand Prix Malaysia
(3) Sun 14 Apr 2013 15:00 / Grand Prix China
(4) Sun 21 Apr 2013 15:00 / Grand Prix Bahrain
as examples. Build yourself a copy for use in your Ruby scripts.
Example:
jp = Track.find_by_key( 'jp')
jp.title
=> 'Grand Prix Japan (Suzuka Circuit)'
jp.country.title
=> 'Japan'
and so on.
Cheers.