I have a model that has many attachments.
class Contract < ApplicationRecord ... has_many_attached :contract_document