def description
      resource_description = resource.try(:resource_description) || resource.try(:description)
      return if resource_description.blank?

      resource_description = if resource_description.is_a?(String)
                               resource_description
                             elsif resource_description.is_a?(Hash)
                               translated_attribute(resource_description)
                             end

      truncate(strip_tags(resource_description), length: 300)
    end
def description
      resource_description = resource.try(:resource_description) || resource.try(:description)
      return if resource_description.blank?

      resource_description = if resource_description.is_a?(String)
                               resource_description
                             elsif resource_description.is_a?(Hash)
                               translated_attribute(resource_description)
                             end

      truncate(strip_tags(resource_description), length: 300)
    end
The description to show at the card.

 The card will also be displayed OK if there's no description.