Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validação de cnpj não funciona quando coloco um cpf #6

Open
Brunomm opened this issue Jun 25, 2015 · 1 comment
Open

Validação de cnpj não funciona quando coloco um cpf #6

Brunomm opened this issue Jun 25, 2015 · 1 comment

Comments

@Brunomm
Copy link

Brunomm commented Jun 25, 2015

Quando eu adiciono a validação:

validates :cnpj_attr, cnpj: true

E coloco um cpf no atributo está deixando eu salvar o objeto.

@dhyegocalota
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants