Extract unscoped logic to a method.
Extract unscoped logic to a method.

Before the check for model classes to respond to `unscoped` and the calls to
`super` were duplicated in both `locate` and `find_records`.

Extract a helper method that yields to cut down on the duplication.

rails/globalid,kaspth/globalid