The question pretty much sums it up. I nailed through a live wire in my ceiling. Rather than splice it and install a jbox, I ran a new run to the outlet. However, I took a slightly different route that did not require any additional cuts into the drywall.
I will be leaving the dead run in the ceiling. Are there any guidelines or code I need to follow to still be within compliance? For example, do a cut the wire ends clean? Tape them up and label them? Also, do I need to remove the dead wire from the outlet box or can that be cut and/or taped up?