You can perform the check yourself. Convert the string to a date using to_date and make sure it is less than 18.years.ago .
Put this check in your user model and call it as errors.add :dob, 'must be older than 18' if it does not work.
Then at the top of your validates :dob_check model call validates :dob_check
source share