Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 264 Bytes

README.markdown

File metadata and controls

17 lines (10 loc) · 264 Bytes

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