Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VALID_REGEXP = /AISO 3166-1z/i
- validates :country, format: { with: VALID_REGEXP },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement