mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-05 20:59:42 -06:00
Update points rake task
This commit is contained in:
@@ -5,7 +5,7 @@ namespace :points do
|
||||
task migrate_to_lonlat: :environment do
|
||||
puts 'Updating points to use lonlat...'
|
||||
|
||||
points = Point.where(longitude: nil, latitude: nil).without_raw_data
|
||||
points = Point.where(longitude: nil, latitude: nil)
|
||||
|
||||
points.find_each do |point|
|
||||
Points::RawDataLonlatExtractor.new(point).call
|
||||
|
||||
Reference in New Issue
Block a user