method
delete
v2.1.0 -
Show latest stable
- Class:
ActionController::CookieJar
delete(name, options = {})public
Removes the cookie on the client machine by setting the value to an empty string and setting its expiration date into the past. Like []=, you can pass in an options hash to delete cookies with extra data such as a :path.