Skip to content
Snippets Groups Projects
Commit f04d593d authored by Alex Reisner's avatar Alex Reisner
Browse files

Merge pull request #917 from rayzeller/master

Pass in dir variable when retreiving data files in Maxmind insert task
parents b4e66031 7bb7c8d4
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ module Geocoder
end
def insert(package, dir = "tmp")
data_files(package).each do |filepath,table|
data_files(package, dir).each do |filepath,table|
print "Resetting table #{table}..."
ActiveRecord::Base.connection.execute("DELETE FROM #{table}")
puts "done"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment