This gem covers the generation and validation of the Portuguese Fiscal Code (or NIF). It also includes a rails custom validator.
Pedro Carriço
June 2, 2012 6:18pm
k.A.