Sha256: 1a2d1903b201b8095ee04f44ebeb68868e681e42be7244a39cd90db969051ab5
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 Bytes
Contents
# encoding: utf-8 teams = [ [ 'barcelona', 'FC Barcelona', 'city:barcelona' ], [ 'madrid', 'Real Madrid', 'city:madrid' ], [ 'atletico', 'Atlético Madrid|Atletico Madrid', 'city:madrid' ], [ 'malaga', 'FC Málaga|Malaga CF|CF Malaga', 'city:malaga' ], [ 'valencia', 'FC Valencia|CF Valencia', 'city:valencia' ], [ 'athletic', 'Athletic Bilbao', 'city:bilbao' ] ] es = Country.find_by_key!( 'es' ) Team.create_from_ary!( teams, club: true, country: es ) ## The End #################
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sportdb-0.9.0 | db/es/teams.rb |