First implementation of advanced stats

This commit is contained in:
Kyle Drake 2015-05-11 15:00:58 -07:00
parent dc01d795f3
commit 51140856c5
3 changed files with 362 additions and 0 deletions

View file

@ -131,3 +131,11 @@ if ENV['RACK_ENV'] != 'development'
# Sass::Plugin.options[:never_update] = true
Sass::Plugin.options[:full_exception] = false
end
require 'csv'
$country_codes = {}
CSV.foreach("./files/country_codes.csv") do |row|
$country_codes[row.last] = row.first
end