Merge pull request #370 from AyuntamientoMadrid/verified_users

Verified users
This commit is contained in:
Juanjo Bazán
2015-09-06 11:35:56 +02:00
4 changed files with 14 additions and 21 deletions

View File

@@ -19,6 +19,7 @@ class Verification::Residence
self.date_of_birth = parse_date('date_of_birth', attrs)
attrs = remove_date('date_of_birth', attrs)
super
self.document_number.upcase! unless self.document_number.blank?
end
def save