class GlobalID::Locator::BaseLocator
def find_records(model_class, ids, options)
def find_records(model_class, ids, options) model_class = model_class.includes(options[:includes]) if options[:includes] if options[:ignore_missing] model_class.where(primary_key(model_class) => ids) else model_class.find(ids) end end