file_column :image, :magick => { :geometry => "100x100>" }
def after_initialize
- self.creation_time = Time.now if self.creation_time.nil?
+ self.creation_time = Time.now.getutc if self.creation_time.nil?
end
def encrypt_password
def delete
self.active = false
self.display_name = "user_#{self.id}"
- self.description = nil
+ self.description = ""
self.home_lat = nil
self.home_lon = nil
self.image = nil