method
commit
v5.2.3 -
Show latest stable
- Class:
ActionDispatch::Cookies::EncryptedKeyRotatingCookieJar
commit(options)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 646
def commit(options)
options[:value] = @encryptor.encrypt_and_sign(serialize(options[:value]), expiry_options(options))
raise CookieOverflow if options[:value].bytesize > MAX_COOKIE_SIZE
end