<commit_before>module Api
  module V2
    class GeographicalAreasController < ApiController
      def index
        @geographical_areas = GeographicalArea.eager(:geographical_area_descriptions)
                                .actual
                                .areas
                                .all
  
        render json:  Api::V2::GeographicalAreaSerializer.new(@geographical_areas).serializable_hash
      end
      
      def countries
        @geographical_areas = GeographicalArea.eager(:geographical_area_descriptions)
                                              .actual
                                              .countries
                                              .all

        render json:  Api::V2::GeographicalAreaSerializer.new(@geographical_areas).serializable_hash
      end
    end
  end
end<commit_msg>removed eager loading to return correct description.<commit_after>module Api
  module V2
    class GeographicalAreasController < ApiController
      def index
        @geographical_areas = GeographicalArea
                                .actual
                                .areas
                                .all
  
        render json:  Api::V2::GeographicalAreaSerializer.new(@geographical_areas).serializable_hash
      end
      
      def countries
        @geographical_areas = GeographicalArea.eager(:geographical_area_descriptions)
                                              .actual
                                              .countries
                                              .all

        render json:  Api::V2::GeographicalAreaSerializer.new(@geographical_areas).serializable_hash
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.048214285714285716, 'fraction_numerical': 0.0035714285714285713, 'mean_word_length': 1.3058984910836762, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6643280', 'n_tokens_mistral': 367, 'n_tokens_neox': 363, 'n_words': 69}