def apply_persistence_timestamps
      self.updated_at   = Time.now if self.class.attribute_names.include?(:updated_at)
      self.created_at ||= Time.now if self.class.attribute_names.include?(:created_at)
    end
def apply_persistence_timestamps
      self.updated_at   = Time.now if self.class.attribute_names.include?(:updated_at)
      self.created_at ||= Time.now if self.class.attribute_names.include?(:created_at)
    end
Update persistence auto-timestamp attributes