CNPJ validation for ActiveModel
gem "cnpj_validator"
class Company < ActiveRecord::Base validates :cnpj, :cnpj => true end
Copyright © 2009-2011 Gabriel Sobrinho, released under the MIT license