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