db/mx/apertura_2012.rb in sportdb-0.4.5 vs db/mx/apertura_2012.rb in sportdb-0.5.0
- old
+ new
@@ -3,10 +3,12 @@
# note: timezone for games (play_at) is *always* CST (central standard time / -6 hours ??)
mx = Event.create!( key: 'mx.apertura.2012',
title: 'México Primera División Apertura 2012',
- start_at: Time.cst('2012-07-20 00:00') )
+ start_at: Time.cst('2012-07-20 00:00'),
+ league: League.find_by_key!( 'mx.apertura'),
+ season: Season.find_by_key!( '2012'))
team_keys_mx = [
'america',
'atlante',
'atlas',
\ No newline at end of file