Save 36% for Black Friday! Learn more

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Limit the file size of Direct Upload ActiveStorage and ActionText Attachments

Tonksthebear asked in 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

Reply
Join the discussion
Create an account Log in

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

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

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