method
delete
rails latest stable - Class:
ActionDispatch::Cookies::CookieJar
delete(name, options = {})public
Removes the cookie on the client machine by setting the value to an empty string and the expiration date in the past. Like []=, you can pass in an options hash to delete cookies with extra data such as a :path.
Returns the value of the cookie, or nil if the cookie does not exist.