Adding a teensy data set for sussing out the tournament logic
This commit is contained in:
@@ -25,7 +25,7 @@ class Map < ActiveRecord::Base
|
||||
FasterCSV.parse(open(csv_filename), :headers => true,
|
||||
:header_converters => [:downcase, :symbol]).each do |row|
|
||||
map = self.find_or_initialize_by_name(
|
||||
"#{row[:city]}, #{row[:country]}"
|
||||
"#{row[:city]}, #{row[:region]}"
|
||||
)
|
||||
map.save
|
||||
if block_given?
|
||||
|
Reference in New Issue
Block a user