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

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

Fix updated by for draft notes
Fix updated by for draft notes
