ValidatesAsCpf
This plugin is a rework of original validates_as_cpf created by OSS. You can see it here
Installation
$ rails plugin install git://github.com/sobrinho/validates_as_cpf.git
See here for older versions of Rails.
Usage
class Person < ActiveRecord::Base
validates :document, :cpf => true
end
License
Copyright © 2009-2010 Gabriel Sobrinho, released under the MIT license