Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

length validation for integer (fixnum) fields

#6556

So far length validation using value.size for comparsion, which fails for integers/fixnums (10.size = 8, ruby 1.9.2, if it is important)

Usage of value.to_s.size is proposed.

Reported by Andriy Tyurnikov · March 10th, 2011 @ 05:58 PM

State: committed
Milestone: 3.0.6
Assigned to: Santiago Pastorino Santiago Pastorino
Importance: Low