app/helpers/admin/taggable_content_helper.rb
# Returns an Array that represents the current set of taggable statistical
# data sets. Each elements of the array consists of two values: the data
# set title and its ID.
Returns an Array that represents the current set of taggable statistical
data sets. Each elements of the array consists of two values: the data
set title and its ID.
Returns an Array that represents the current set of taggable statistical data sets . Each elements of the array consists of two values : the data set title and its ID .
def taggable_statistical_data_sets_container
    Rails.cache.fetch(taggable_statistical_data_sets_cache_digest, expires_in: 1.day) do
      StatisticalDataSet.with_translations.latest_edition.map do |data_set|
        [data_set.title, data_set.document_id]
      end
    end
  end
def taggable_statistical_data_sets_container Rails . cache . fetch ( taggable_statistical_data_sets_cache_digest , expires_in : 1 . day ) do StatisticalDataSet . with_translations . latest_edition . map do | data_set | [ data_set . title , data_set . document_id ] end end end
Returns an Array that represents the current set of taggable statistical
data sets.
Returns an Array that represents the current set of taggable statistical data sets .