class DrugSafetyUpdate < AbstractDocument

  def summary
    attrs.fetch(:description)
  end

  def self.tag_metadata_keys
    %w(
      therapeutic_area
    )
  end
end

class DrugSafetyUpdate < AbstractDocument

  def summary
    attrs.fetch(:description, nil)
  end

  def self.tag_metadata_keys
    %w(
      therapeutic_area
    )
  end
end

Handle Rummager not returning description
Handle Rummager not returning description

If a record in Rummager's search index doesn't have a description then
it will omit the field completely rather than returning a blank value.
That causes the `fetch` to blow up, so default it to `nil`.
