This method is deprecated or moved on the latest stable version.
The last existing version (v2.2.1) is shown here.
close()
public
Write the session data cookie if it was loaded and has changed.
# File actionpack/lib/action_controller/session/cookie_store.rb, line 109
def close
if defined?(@data) && [email protected]?
updated = marshal(@data)
raise CookieOverflow if updated.size > MAX
write_cookie('value' => updated) unless updated == @original
end
end