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