We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfd4e1a commit 0bb1a12Copy full SHA for 0bb1a12
doc/plugins/validation_helpers.md
@@ -10,7 +10,7 @@ plugin :validation_helpers
10
11
Attacher.validate do
12
validate_mime_type %w[image/jpeg image/png image/webp]
13
- validate_max_size 5*1024*1024
+ validate_max_size 5*1024*1024 # bytes
14
# ...
15
end
16
```
0 commit comments