class ActionDispatch::Cookies::EncryptedKeyRotatingCookieJar
def commit(name, options)
def commit(name, options) options[:value] = @encryptor.encrypt_and_sign(serialize(options[:value]), **cookie_metadata(name, options)) raise CookieOverflow if options[:value].bytesize > MAX_COOKIE_SIZE end