I would like to use an active_storage representation in a mailer.
rails_blob_path(@post.photos.first.img).variant(resize: "300x300")
don't work and all the links generated through rails_blob_path(@post.photos.first.img)
expire in 5 mins.
Is there a way to generate permanent long lived urls?
Rails.application.routes.url_helpers.rails_blob_url(@post.photos.first.img.variant(resize: "300x300"), only_path: true)
Return NoMethodError: undefined method `signed_id'