Another way to solve this issue is to require the module directly in the file that is not reloadable.
At the top of lib/company/tenant_id_loader.rb put require_relative '../../app/models/tenant' or whatever the path is relative to the id loader to the tenant model.