Skip to content

reneretz/validates_as_cpf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValidatesAsCpf
=============

This is a refactoring with i18n support of original plugin made by OSS:

https://projetos.ossystems.com.br/projects/plugonrails/repository/browse/plugins/validates_as_cpf


Note this plugin only work on Rails >= 2.3


Example
=======

class Person < ActiveRecord::Base
  validates_as_cpf :cpf
end

Copyright (c) 2009 Gabriel Sobrinho, released under the MIT license

About

Validation of CPF for ActiveRecord (Rails >= 2.3)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%