1 class OldNode < ActiveRecord::Base
6 def self.from_node(node)
8 old_node.latitude = node.latitude
9 old_node.longitude = node.longitude
10 old_node.visible = node.visible
11 old_node.tags = node.tags
12 old_node.timestamp = node.timestamp
13 old_node.user_id = node.user_id