<commit_before>module Switchman
  module ActiveRecord
    module ModelSchema
      module ClassMethods
        def quoted_table_name
          @quoted_table_name ||= {}
          @quoted_table_name[Shard.current.id] ||= connection.quote_table_name(table_name)
        end
      end
    end
  end
end<commit_msg>cache quoted table name based on the current shard for the correct category<commit_after>module Switchman
  module ActiveRecord
    module ModelSchema
      module ClassMethods
        def quoted_table_name
          @quoted_table_name ||= {}
          @quoted_table_name[Shard.current(shard_category).id] ||= connection.quote_table_name(table_name)
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.06, 'fraction_numerical': 0.0, 'mean_word_length': 2.916201117318436, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5206333', 'n_tokens_mistral': 201, 'n_tokens_neox': 200, 'n_words': 47}