-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The validates_numericality_of method may be useful as an alternative to these manual approaches :)
validates_numericality_of :passport, only_integer: trueAlternatively, using the numericality option of the standard validates method;
validates :passport, numericality: trueMetadata
Metadata
Assignees
Labels
No labels