ValidatesAsCpf
This project is based on O.S. Systems works here
Installation
gem "validates_as_cpf"
Usage
class Person < ActiveRecord::Base
validates :document, :cpf => true
end
License
Copyright © 2009-2011 Gabriel Sobrinho, released under the MIT license