Commit 1c8c8adb27104f7ad02d5ee8b752d0e7336bf6c8

Authored by Maxwell Max
1 parent 30dc688b
Exists in sisp_dev

Remove acronym validation.

src/noosfero-spb/gov_user/lib/public_institution.rb
@@ -2,8 +2,7 @@ class PublicInstitution < Institution @@ -2,8 +2,7 @@ class PublicInstitution < Institution
2 validates :governmental_power, :governmental_sphere, :juridical_nature, 2 validates :governmental_power, :governmental_sphere, :juridical_nature,
3 :presence=>true 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 validates :cnpj, 7 validates :cnpj,
9 :format => {with: CNPJ_FORMAT}, 8 :format => {with: CNPJ_FORMAT},