This Ruby on Rails plugin implements an ActiveRecord validation helper called validates_as_uk_postcode. The helper acts as if validates_format_of was used with a regular expression that defines an valid UK postcode:
http://www.govtalk.gov.uk/gdsc/html/frames/PostCode.htm
TLDR: Project (validates_as_uk_postcode
) is now hosted on Sourcehut due to GitHub's continued collaboration with ICE (U.S. Immigration and Customs Enforcement).
Hello 👋, nice to see you! If you're here you're presumably looking for the project (validates_as_uk_postcode
) that used to be here. The project still exists, it has just moved elsewhere. Let me tell you both why, and where you can find the project now.
Given GitHub's ongoing policy of collaborating with ICE I don't feel comfortable supporting the platform (as I've mentioned elsewhere), so I've gradually moved all of my repositories (both private and public) elsewhere.
I've hoped that GitHub would cancel their policy (as do many of the staff, including good people I know), but nothing has happened, so I've moved. You can find the project at Sourcehut.