X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/de93fe7707f9222f045561cb96227352a57ebac2..6f6e827702fb2e56c0f7cd6aaf43d98f9c7f5fb2:/lib/tasks/populate_node_tags.rake diff --git a/lib/tasks/populate_node_tags.rake b/lib/tasks/populate_node_tags.rake index fe247da03..6a57dffc5 100644 --- a/lib/tasks/populate_node_tags.rake +++ b/lib/tasks/populate_node_tags.rake @@ -6,7 +6,7 @@ namespace 'db' do node_count = Node.count limit = 1000 #the number of nodes to grab in one go offset = 0 - + while offset < node_count Node.find(:all, :limit => limit, :offset => offset).each do |node| seq_id = 1