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: has_logidze.rb
    path of file: ./repos/logidze/lib/logidze
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "active_support"

module Logidze
  # Add `has_logidze` method to AR::Base
 
    
      def has_logidze(ignore_log_data: Logidze.ignore_log_data_by_default)
        include Logidze::IgnoreLogData
        include Logidze::Model

        @ignore_log_data = ignore_log_data

        self.ignored_columns += ["log_data"] if @ignore_log_data
      end