Skip to content

reneretz/validates_as_cnpj

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValidatesAsCnpj
==============

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_cnpj


Note this plugin only work on Rails >= 2.3


Example
=======

class Company < ActiveRecord::Base
  validates_as_cnpj :cnpj
end

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

About

Validation of CNPJ for ActiveRecord (Rails >= 2.3)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%