CPF validation for ActiveModel
Ruby
Latest commit a02df6d Oct 17, 2014 @sobrinho Bump version
Failed to load latest commit information.
lib
test Test blank values Jul 4, 2011
.gitignore Update gitignore Jun 22, 2011
Gemfile Typo: foo -> cpf_validator Jun 22, 2011
MIT-LICENSE Update copyright Jan 15, 2012
README.markdown Update README Jan 22, 2012
Rakefile Use bundler for development May 15, 2011
cpf_validator.gemspec Bump version Oct 17, 2014

README.markdown

cpf_validator

CPF validation for ActiveModel

Installation

gem "cpf_validator"

Usage

class Person < ActiveRecord::Base
  validates :cpf, :cpf => true
end

License

Copyright (c) 2009-2012 nohup brasil, released under the MIT license