Destroy Users

Let’s implement the last of the HTTP functions, DELETE, for the 'User' model in the application.

We have built many actions on the users controller with quite a few tests, but are not done yet. We need one more action—the act of destruction—so let’s implement the DELETE function.

Get hands-on with 1200+ tech skills courses.