class ActionDispatch::Cookies::EncryptedKeyRotatingCookieJar

def commit(name, options)

def commit(name, options)
  super
  options[:value] = @encryptor.encrypt_and_sign(options[:value], **cookie_metadata(name, options))
  check_for_overflow!(name, options)
end