app/helpers/admin/taggable_content_helper.rb
def taggable_detailed_guides_container
    Rails.cache.fetch(taggable_detailed_guides_cache_digest, expires_in: 1.day) do
      DetailedGuide.alphabetical.latest_edition.active.map { |d| [d.title, d.id] }
    end
  end
# Returns an Array that represents the current set of taggable detauled
# guides. Each element of the array consists of two values: the guide title
# and its ID.
Returns an Array that represents the current set of taggable detauled
guides. Each element of the array consists of two values: the guide title
and its ID.
Returns an Array that represents the current set of taggable detauled guides . Each element of the array consists of two values : the guide title and its ID .
def taggable_detailed_guides_container
    Rails.cache.fetch(taggable_detailed_guides_cache_digest, expires_in: 1.day) do
      DetailedGuide.alphabetical.latest_edition.active.map { |d| [d.title, d.id] }
    end
  end
def taggable_detailed_guides_container Rails . cache . fetch ( taggable_detailed_guides_cache_digest , expires_in : 1 . day ) do DetailedGuide . alphabetical . latest_edition . active . map { | d | [ d . title , d . id ] } end end
Returns an Array that represents the current set of taggable detauled
guides.
Returns an Array that represents the current set of taggable detauled guides .