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: make_model_searchable.rb
    path of file: ./repos/make_model_searchable/lib
    
    the code of the file until where you have to start completion: require "make_model_searchable/version"
require 'active_record'
require 'models/searchable_field'

module MakeModelSearc
    
  def get_valid_fields(options)
    column_names = self.columns.map(&:name)
    column_types = self.columns.map(&:type)
    searchable_columns = []
    if column_names.length == column_types.length
      column_names.each_with_index do |column_name, index|
        searchable_columns << column_name if column_types[index].to_sym == :string 
      end
    end