5.14 Deleting Posts

We're now ready to cover the "D" part of CRUD, deleting posts from the
database. Following the REST convention, the route for deleting posts in
the config/routes.rb is:

DELETE /posts/:id(.:format)      posts#destroy

The delete routing method should be used for routes that destroy
resources.