# File lib/paranoia.rb, line 20 def delete self.update_attribute(:deleted_at, Time.now) if !deleted? && persisted? freeze end