Active Storage provides file uploads for Rails applications and is the storage mechanism for Action Text, Action Mailbox, and more.
Active Storage is installed by default in Jumpstart Pro.
For production, we strongly recommend using a CDN for serving files. Active Storage processes images through Rails which can add unncessary load to your Rails application and slow down your app if you don't have a CDN in production.
<%= form.file_field :attachments, multiple: true, direct_upload: true %>
The Trix editor is also preconfigured to use direct uploads when uploading attachments.
Users have default avatars using Gravatar, but they may override this by uploading their own avatar. These avatars are uploaded and processed using Active Storage.