Mercurial > hg > soundsoftware-site
comparison app/models/user.rb @ 59:7ff14a13f48a luisf
a few fixes
author | luisf |
---|---|
date | Wed, 01 Dec 2010 00:21:03 +0000 |
parents | bbb139d5ca95 |
children | cf39b52d24b4 |
comparison
equal
deleted
inserted
replaced
58:e77d73b181e3 | 59:7ff14a13f48a |
---|---|
92 | 92 |
93 def mail=(arg) | 93 def mail=(arg) |
94 write_attribute(:mail, arg.to_s.strip) | 94 write_attribute(:mail, arg.to_s.strip) |
95 end | 95 end |
96 | 96 |
97 def description=(arg) | |
98 write_attribute(:description, arg.to_s.strip) | |
99 end | |
100 | |
97 def identity_url=(url) | 101 def identity_url=(url) |
98 if url.blank? | 102 if url.blank? |
99 write_attribute(:identity_url, '') | 103 write_attribute(:identity_url, '') |
100 else | 104 else |
101 begin | 105 begin |