```ruby
class DraftNoteDecorator < ApplicationDecorator
  def last_updated_by
    name = object.authorable.decorate.full_name if object.authorable.present?
    time = object.content_updated_at.try(:strftime, "%e %b %Y at %H:%M")
    "Updated by #{name} - #{time}" if name && time
  end
end
```

Fix updated by for draft notes
user
```ruby
class DraftNoteDecorator < ApplicationDecorator
  def last_updated_by
    if object.content_updated_at.present?
      name = object.authorable.decorate.full_name if object.authorable.present?
      time = l object.content_updated_at, format: :date_at_time
      "Updated by #{name} - #{time}" if name && time
    end
  end
end
```
assistant