Commit graph

8 commits

Author SHA1 Message Date
Tom Hughes
9cd96bd452 Fix new rubocop warnings 2022-09-09 22:45:58 +01:00
Tom Hughes
57f5b7840e Fix rubocop warnings 2019-12-04 19:31:53 +00:00
ardean80
552a471188
Update country.rb
Without adding "Rails.root.join(...)" (or something else returning a complete path to the countries.xml file) this error occurred: 
"No such file or directory @ rb_sysopen - config/countries.xml" 
I think it happened because it could not find that file through a relative path.
2018-02-16 14:43:53 +01:00
Tom Hughes
9d106676b8 Replace quova with support for local Maxmind GeoIP lookups 2016-10-20 21:40:03 +01:00
Tom Hughes
a6b84a0294 Fix more rubocop style issues 2015-02-24 23:12:02 +00:00
Tom Hughes
baf10cd392 Fix rubocop lint issues 2015-02-20 08:56:16 +00:00
Tom Hughes
ef7f3d800c Fix most auto-correctable rubocop issues 2015-02-20 08:56:16 +00:00
Tom Hughes
42b329ed82 Replace the country table with a static XML countries file
Storing the countries in the database is overkill, so just use a
copy of the geonames countryInfo data that is loaded into a hash
the first time it is used.
2014-01-17 19:25:58 +00:00