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 raises RuntimeError if the target is not found.