app/helpers/admin/taggable_content_helper.rb
def taggable_topical_events_container
    Rails.cache.fetch(taggable_topical_events_cache_digest, expires_in: 1.day) do
      TopicalEvent.order(:name).map { |te| [te.name, te.id] }
    end
  end
# Returns an Array that represents the current set of taggable topical
# events. Each element of the array consists of two values: the name and ID
# of the topical event.
Returns an Array that represents the current set of taggable topical
events. Each element of the array consists of two values: the name and ID
of the topical event.
Returns an Array that represents the current set of taggable topical events . Each element of the array consists of two values : the name and ID of the topical event .
def taggable_topical_events_container
    Rails.cache.fetch(taggable_topical_events_cache_digest, expires_in: 1.day) do
      TopicalEvent.order(:name).map { |te| [te.name, te.id] }
    end
  end
def taggable_topical_events_container Rails . cache . fetch ( taggable_topical_events_cache_digest , expires_in : 1 . day ) do TopicalEvent . order ( :name ) . map { | te | [ te . name , te . id ] } end end
Returns an Array that represents the current set of taggable topical
events.
Returns an Array that represents the current set of taggable topical events .