def send_zip(active_storages, filename: 'my.zip')
      require 'zip'
      files = SendZipHelper.save_files_on_server active_storages
      zip_data = SendZipHelper.create_temporary_zip_file files

      send_data(zip_data, type: 'application/zip', filename: filename)
    end
def send_zip(active_storages, filename: 'my.zip')
      require 'zip'
      files = SendZipHelper.save_files_on_server active_storages
      zip_data = SendZipHelper.create_temporary_zip_file files

      send_data(zip_data, type: 'application/zip', filename: filename)
    end
Zip all given files into a zip and send it with `send_data`

 @param active_storages [ActiveStorage::Attached::Many] files to save
 @param filename [ActiveStorage::Attached::Many] files to save