I have a small app where I'm allowing uploads of photos from cell phones via ActiveStorage. In order to not require users to change their default cell phone camera settings, I'm currently allowing image uploads of unnecessary file size. Would it be feasible to hook in after the asset data is posted, but before the uploaded asset is initially pushed to cloud storage, in order to reduce the asset's file size to a more reasonable max?
On Thursday, November 22, 2018 at 8:53:47 AM UTC-8, DHH wrote: > > These uploads are considered immutable. If you want to store something > else than the original, you should do the transformation on the original > and upload the new image. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.