Limit the file size of Direct Upload ActiveStorage and ActionText Attachments
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