class GlobalID::Locator::BaseLocator
def primary_key(model_class)
def primary_key(model_class) model_class.respond_to?(:primary_key) ? model_class.primary_key : :id end
def primary_key(model_class) model_class.respond_to?(:primary_key) ? model_class.primary_key : :id end