method
delete
v5.0.0.1 -
Show 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.