You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: searchable.rb
    path of file: ./repos/hitobito/app/controllers/concerns
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

#  Copyright (c) 2012-2021, Jungwacht Blauring Schweiz. This file is part of
#  hitobito and licensed under 
    
    def search_tables_and_fields
      @search_tables_and_fields ||= search_columns.map do |f|
        if f.to_s.include?('.')
          f
        else
          "#{model_class.table_name}.#{f}"
        end
      end