You most likely never want to do this. But if you do:
Model.update_all({:id => new_id}, {:id => old_id})