This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.
delete()
Delete the session data by setting an expired cookie with no data.
# File actionpack/lib/action_controller/session/cookie_store.rb, line 118 def delete @data = nil clear_old_cookie_value write_cookie('value' => nil, 'expires' => 1.year.ago) end