method
delete
rails latest stable - Class:
ActionDispatch::MiddlewareStack
delete(target)public
Deletes a middleware from the middleware stack.
Returns the array of middlewares not including the deleted item, or returns nil if the target is not found.