Skip to content

Commit 0bb1a12

Browse files
authored
Update validation_helpers.md (#591)
Add clarification of unit
1 parent cfd4e1a commit 0bb1a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/plugins/validation_helpers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugin :validation_helpers
1010

1111
Attacher.validate do
1212
validate_mime_type %w[image/jpeg image/png image/webp]
13-
validate_max_size 5*1024*1024
13+
validate_max_size 5*1024*1024 # bytes
1414
# ...
1515
end
1616
```

0 commit comments

Comments
 (0)