We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Although the file_size_validator looks very clean, if I'm using a single uploader, maybe something as simple as a custom validator would suffice. This highlights the fact that the file size is actually part of the carrierwave object & can be used for custom validations. Here, I demonstrate a use case where the file size is dynamic depending on the user model.
Clarifying that this checks file size
Created How to: Validate attachment file size (markdown)