module ActiveRecordImportRefiner
def bulk_import(*args, &block)
puts "bulk_import"
super(*args, &block)
end
def import(*args, &block)
puts "import"
super(*args, &block)
end
end
class ApplicationRecord < ActiveRecord::Base
include ActiveRecordImportRefiner
self.abstract_class = true
end