while offset < (id_max + increment)
hash = {}
#should be offsetting not selecting
OldNode.find(:all, :limit => increment, :offset => offset, :order => 'timestamp').each do |node|
if hash[node.id].nil?
while offset < (id_max + increment)
hash = {}
#should be offsetting not selecting
OldNode.find(:all, :limit => increment, :offset => offset, :order => 'timestamp').each do |node|
if hash[node.id].nil?
temp_old_node.tile = node.tile
temp_old_node.version = n
temp_old_node.save! || raise
temp_old_node.tile = node.tile
temp_old_node.version = n
temp_old_node.save! || raise