New Discussion

Notifications

You’re not receiving notifications from this thread.

Limit the file size of Direct Upload ActiveStorage and ActionText Attachments

0
Rails

As the title says, I'm looking for ways of limiting the file upload size of both ActiveStorage attachments and ActionText attachments. I know this problem will require both client side and server side components, so I'm wondering what this community's go to's are for accomplishing this. I'm also using S3, so I know another option would be a lambda function. Anyways, I've been researching this for a bit and see a few solutions, but I'm not seeing a large discussion anywhere about a standard way of doing so. I'm hoping to learn if there is one

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 89,621+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.