method
commit
v7.0.0 -
Show latest stable
- Class:
ActionDispatch::Cookies::SignedKeyRotatingCookieJar
commit(name, options)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 627
def commit(name, options)
options[:value] = @verifier.generate(serialize(options[:value]), **cookie_metadata(name, options))
raise CookieOverflow if options[:value].bytesize > MAX_COOKIE_SIZE
end