Date: 2025-08-11 18:46:07
Score: 1
Natty:
You can do:
optional(:per_page).filled(Types::Integer.default(10.freeze))
Dry.rb reference
Reasons:
- Probably link only (1):
- Low length (1.5):
- Has code block (-0.5):
- High reputation (-1):
Posted by: littleforest