belongs_to :user
+ has_many :nodes, :through => :way_nodes, :order => 'sequence_id'
has_many :way_nodes, :foreign_key => 'id', :order => 'sequence_id'
has_many :way_tags, :foreign_key => 'id'
# update the visibility etc on the current nodes
update_time = Time.now()
- Node.update(node_ids_to_delete, {:user_id = user.id, :timestamp => update_time, :visibility => false})
+ Node.update(node_ids_to_delete, {:user_id => user.id, :timestamp => update_time, :visibility => false})
# create old nodes