Alexandre

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Direct Uploads with ActiveStorage Discussion

Thanks for this episode, this was really interesting !
I still have a question though, what about direct upload validations ? For example what if you want to make sure that your users can't upload files that are too big or what if you want to accept only "image/png" format? I believe this should be done at AWS S3 level as file are uploaded directly to S3 and not going through the Rails application. Do you know how to do this ?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.