app/helpers/admin/taggable_content_helper.rb
def taggable_world_locations_container
    Rails.cache.fetch(taggable_world_locations_cache_digest, expires_in: 1.day) do
      WorldLocation.ordered_by_name.where(active: true).map { |w| [w.name, w.id] }
    end
  end
# Returns an Array that represents the taggable world locations. Each element
# of the array consists of two values: the location name and its ID
Returns an Array that represents the taggable world locations. Each element
of the array consists of two values: the location name and its ID
Returns an Array that represents the taggable world locations . Each element of the array consists of two values : the location name and its ID
def taggable_world_locations_container
    Rails.cache.fetch(taggable_world_locations_cache_digest, expires_in: 1.day) do
      WorldLocation.ordered_by_name.where(active: true).map { |w| [w.name, w.id] }
    end
  end
def taggable_world_locations_container Rails . cache . fetch ( taggable_world_locations_cache_digest , expires_in : 1 . day ) do WorldLocation . ordered_by_name . where ( active : true ) . map { | w | [ w . name , w . id ] } end end
Returns an Array that represents the taggable world locations.
Returns an Array that represents the taggable world locations .