Commit 1c8c8adb27104f7ad02d5ee8b752d0e7336bf6c8
1 parent
30dc688b
Exists in
sisp_dev
Remove acronym validation.
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/noosfero-spb/gov_user/lib/public_institution.rb
... | ... | @@ -2,8 +2,7 @@ class PublicInstitution < Institution |
2 | 2 | validates :governmental_power, :governmental_sphere, :juridical_nature, |
3 | 3 | :presence=>true |
4 | 4 | |
5 | - validates :acronym, :allow_blank => true, :allow_nil => true, | |
6 | - :uniqueness=>true | |
5 | + validates :acronym, :allow_blank => true, :allow_nil => true | |
7 | 6 | |
8 | 7 | validates :cnpj, |
9 | 8 | :format => {with: CNPJ_FORMAT}, | ... | ... |