mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Update points rake task
This commit is contained in:
parent
d030eb7673
commit
3a401beeb1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue