A gem to validate UK postcodes
require 'postkode'
Postkode.validate('WC2E 7PX') => true
Postkode.validate('NOT A POSTCODE') => false
Postkode.random => "M5 6RL"
Postkode.random uses strrand random string generator by tama repeatedly@gmail.com
A gem to validate UK postcodes
require 'postkode'
Postkode.validate('WC2E 7PX') => true
Postkode.validate('NOT A POSTCODE') => false
Postkode.random => "M5 6RL"
Postkode.random uses strrand random string generator by tama repeatedly@gmail.com